Anda di halaman 1dari 26

Unit 1

1
Program ....
Choose at least one answer.

a. is a collection oI Iunctions.


b. is a simulation oI solution.


c. is the result of a programming process.


d. is a set oI instructions that computer hardware will execute.


e. is written by C language only.


2
Data is stored in computer memory in .........
Choose one answer.

a. decimal Iormat.


b. hexadecimal Iormat.


c. octal Iormat.


d. binary Iormat.



3
Which oI these statements about primary memory are not true?
Choose at least one answer.

a. Primary memory holds the inIormation accessed by the CPU.


b. RAM is a volatile memory.


c. There is only one operation on primary memory and it is reading.


d. ROM is a volatile memory.


e. Primary memory is addressable.



4
(1) One byte consists oI 4 nibbles.
(2) One nibble consists oI 2 consecutive bits
Choose at least one answer.

a. (1): Ialse


b. (1) true.


c. (2): true.


d. (2): Ialse



5
Which oI these statements about Iundamental unit in CPU is true?
Choose one answer.

a. The natural unit oI the CPU is a int


b. The natural unit oI the CPU is a numeric


c. The natural unit oI the CPU is a bit


d. The natural unit oI the CPU is a word


e. The natural unit oI the CPU is a byte



6
Which oI these deIinitions are true?
Choose at least one answer.

a. The CPU performs the operation on the values stored as operands or on the values stored in the operand
addresses.

b. The addresses are speciIic values oI a program.


c. The addresses are either register names or primary memory addresses.


d. Each program instruction consists oI an operation and operands.


e. Each program instruction consists oI an expression only.



7
Comments oI a program ......
Choose at least one answer.

a. are used Ior documenting a program.


b. are omitted by the compiler.


c. enhance the readability oI a program.


d. are translated into instructions aIter the program is compiled.



8
Select correct properties oI C language.
Choose at least one answer.

a. C source code must be translated into executable code by a compiler.


b. C language is a Iunctional language.


c. C language is case-insensitive language.


d. C is case sensitive language.


e. C language is a low-level language.


9
Select correct statements.
Choose at least one answer.

a. A compiler will translate each statement oI source code into machine code then CPU executes this statement.


b. An interpreter will iterate to translate each statement oI source code into machine code then CPU execute
these binary code oI this statement.

c. Compiler oI the language A can translate A-source code into language B-source code then the B-language
compiler will translate B-source code into machine code.

d. An interpreter will translate all source codes into machine codes then CPU executes them as a whole.





10
....... helps identiIying the device which will communiate with CPU.
Choose at least one answer.

a. Address bus.


b. All


c. Control bus.


d. Data bus.



Unit 2
Which type qualiIiers are deIined in C?
Choose at least one answer.

a. short


b. complex


c. double


d. array


e. long


2
In C, select correct statements.
Choose at least one answer.

a. The expression xy; will copy value oI the variable x to the variable y.


b. The expression xy; will copy value oI the variable y to the variable x.


c. A constant character must be enclosed by a pair oI double or single quotes.


d. A constant string must be enclosed by a pair oI double quotes.


3

1. Intel use this little-endian ordering
2. Motorola use middle-endian ordering
3. Motorola use big-endian ordering
4. Intel use this big-endian ordering
Choose one answer.

a. 2, 3 true


b. All oI them are true


c. 1, 4 true


d. 2, 4 true


e. 1, 3 true


I. 1, 2 true


g. All oI them are Ialse


4
Which oI the Iollowing is an invalid identiIier?
Choose at least one answer.

a. employee salary


b. False


c. 123


d. ab


e. 45n


I. True



5
Which oI these statements about constants are not true?
Choose at least one answer.

a. The compiler allocates memory Ior constants.


b. The compiler does not allocate memory Ior constants.


c. The compiler embeds constants directly into the program instructions.


d. The compiler compiles constants.



6
What are the right matching?
Character Sequence
a. Newline \t
b. vertical tab \v
c. backslash \
d. alarm \r
e. backspace \b
I. question mark \?
Choose at least one answer.

a. a


b. I


c. e


d. c


e. b


I. d



7
In C language,
(1) The operator is used Ior setting a value to a variable.
(2) The operator is used Ior checking whether two numbers are equal or not.
Choose at least one answer.

a. (2): true.


b. (2): Ialse


c. (1): Ialse


d. (1) true.



8
Select correct statements. With respect to ASCII, ..........
Choose at least one answer.

a. Binary ASCII code oI the character a is 0100 0001


b. Binary ASCII code oI the digit 1 is 0000 0001


c. Binary ASCII oI the character A is 0100 0001


d. The code oI a uppercase character is less than the code oI a lowercase character.


e. The code oI a digit is less than the code oI an alphabet.



9
Select correct conversion speciIiers Ior an int variable in C lanaguge.
Choose at least one answer.

a. I


b. o


c. e


d. d


e. u


Unit 3
1
In C language, the selection constructs use .......
Choose at least one answer.

a. while


b. switch


c. Ior


d. ?:


e. iI else


I. iI else then



2
Suppose that the Iollowing codes are executed. What is the output?
long S10;
long i1;
while (i<10)
if (i20) S+i;
i++;
]
printf("ld", S);
Choose one answer.

a. 32


b. 38


c. 46


d. 40


e. 36



3
Flags is a technique that supports using goto, continue statements
Choose one answer.

a. True


b. False



4
To improve readability, programmers are recommended .......
Choose at least one answer.

a. using whitespace to identiIy the logical structure oI the code.


b. using goto statements as needed.


c. removing continue statements.


d. using break statements as needed.


e. using comments.



5
1. The rule in C is that an else statement always belongs to the innermost iI available
2. The rule in C is that an else statement always belongs to the outermost iI available
Choose one answer.

a. Only 2nd statement is true


b. Only 1st statement is true


c. Both 1 and 2 statements are Ialse


d. Both 1 and 2 statements are true



6
Program should be written ...
Choose at least one answer.

a. with a complicated appearance.


b. as a well program.


c. with a consistent style and clear throughout.


d. with signiIicant eIIort and private style.



7
Select correct statement(s).
Choose at least one answer.

a. Walkthrough is a process in which any change in codes is recorded.


b. Walkthrough process is used Ior evaluating the perIormance oI a program.


c. A table that contains all program variables is used in walkthrough process.


d. Walkthrough is a manual process Ior recording all changes oI program variables when the program executes
instruction-by-instruction.

e. A listing oI the output, iI any, produced by the program is carried out when we do a walkthrough..



8
Suppose that the Iollowing codes execute and input data are 9 and 12.
int m,n;
printf("Enter two integers:");
scanf("dd",&m, &n);
if (m>10 && n<20) printf("d", m+n);
else printf("d", m-n);
What is the output.
Choose one answer.

a. None oI the others.


b. 21


c. -3


d. 3



9
Suppose that the Iollowing codes execute. What is the output?
long S10;
long i;
for (i1; i<10; i++) if (i30) S+i;
printf("ld", S);
Choose one answer.

a. 19


b. 31


c. 16


d. 22


e. None oI the others.



Unit 4

1
In C, which oI these statements are not true?
Choose at least one answer.

a. #include 'Iilename using with Iilename locate in system directory.


b. We can collect Iunction prototypes into a Iile and reIer to the Iile in our program


c. We use the #include directive to instruct the compiler to insert a copy oI the header Iile into our source code.


d. #include Iilename~ using with Iilename locate in user directory


e. # is a symbol of postprocessor indicators


2
What is the output iI the Iollowing code executes.
int n3, m7;
int` p1 &n, `p2&m;
`p1 - m+n- 3`(`p2);
`p2 + `p12 ? 2 : 5;
printf ("d", m-n);
Choose one answer.

a. -5


b. None oI the others.


c. -4


d. 6


e. 4


3
In C, incorrect order(s) oI a Iunction implementation:
Choose at least one answer.

a. Return type, body, Iunction name, parameters


b. Return type, body, parameters, Iunction name


c. Return type, Iunction name, parameters, body


d. Return type, parameters, body, Iunction name


4
Which oI these statements about the Iunction is true?
Choose one answer.

a. All oI the others


b. The body is the code block that contains the module instructions and generates the return value


c. A Iunction deIinition consists oI a header and a body


d. A Iunction that does not return a value is called a subroutine or procedure in other languages


e. A Iunction may receive data and may return a value


5
Select correct statement(s).
Choose at least one answer.

a. Actual parameter is a parameter in Iunction implementation.


b. Formal parameter is a parameter that is transIered to a Iunction when it is called.


c. Actual parameter is a parameter that is transIered to a Iunction when it is called.


d. Formal parameter is a parameter in Iunction implementation.


6
Select the statements that belong to low cohesion
Choose at least one answer.

a. "logical" - related tasks oI which only one is perIormed - the module identiIier suggests a choice


b. "Iunctional" - perIorms a single speciIic task - the module identiIier suggests a precise verb phrase


c. "communicational" - the tasks share the same data - all tasks are carried out each time


d. "coincidental" - unrelated tasks


7
In C, with reIerence to property oI reusing a Iunction, the Iunction that will check whether an integer is a
prime or not, should be declared as ........
Choose one answer.

a. a void Iunction.


b. a Iunction that returns a real number.


c. a Iunction that will return an integer.


d. None oI the others


e. a Iunction that returns a string a characters.


8

Study the Iollowing Iunction:
int t (int x, int y, int z)
return x+y+z>20 ? 10 : 20;
]
II this Iunction is called as Iollowing with input data are 5 10 15. What is the output?
int a,b,c;
printf("Enter 3 integers:");
scanf("ddd", &a, &b, &c);
printf("d", t(b,c,a));
Choose one answer.

a. None oI the others.


b. 20


c. -10


d. 10


9
Study the Iunction implementation and a case oI using this Iunction.
int t (int x, int y)
return x-y;
]
...
char c1 'A', c2 'D';
printf("d", t(c2, c1));
Suppose that the above codes execute. What is the output?
Choose one answer.

a. An error is thrown when they are executed.


b. No output is printed out.


c. 3


d. -3


10
Suppose that the Iollowing codes execute. What is the output.
int n3, m7;
int` p1 &n, `p2&m;
`p1 - m+n- 3`(`p2);
`p2 + m-n;
printf ("d", m+n);
Choose one answer.

a. 14


b. 16


c. 12


d. 20


e. 18


Unit 5
1 Which oI these statements about the scanI Iunction are true?
Choose at least one answer.

a. The return code Irom scanI reIlects success oI * conversions


b. scanI retrieves data values Irom every keystroke directly


c. interpreted and processed the entire Iormat string


d. scanI treats the whitespace between the input values as a separator


e. II the buIIer is empty, the Iunction scanI will wait until the user adds more data values


2
Select incorrect statements.
Choose at least one answer.

a. The speciIier hex is used Ior printing out an integer in hexadecimal Iormat.


b. The speciIier e is used Ior printing out a real number in scientiIic Iormat.


c. The speciIier u is used Ior printing out a unsigned integer.


d. The speciIier b is used to print out an integer in binary Iormat.


3
The getchar Iunction can do
Choose one answer.

a. clearing the buIIer automatically aIter retrieving


b. None oI the others


c. treats the whitespace between the input values as a separator


d. retrieves data values Irom every keystroke directly


4
What library includes Iunction to generate random numbers?
Choose one answer.

a. conio.h


b. stdio.h


c. stdlib.h


d. math.h


5
Validation do not include
Choose one answer.

a. out-oI-range input


b. invalid characters


c. trailing characters


d. None oI the others


e. incorrect number oI input Iields


6
Which oI these statements about Iormat string are not true?
Choose one answer.

a. size identiIies the size oI data type oI the value passed.


b. Ilags width . precision size conversioncharacter


c. - describes leIt justiIication oI the converted value in its Iield


d. None oI the others


e. 0 pads the Iield width with leading zeros


7
Marks: 1
What is the output oI the Iollowing program?
/` Suppose that all needed libraries are included `/
int main()
double x 3.5, y 6.8 , z 1.5;
int n floor( x )+ ceil( y )+ z;
printf("d", n);
getch();
return 1;
]
Choose one answer.

a. 12


b. 10


c. 11.5


d. The program causes an error when it is compiled.


e. 11


8
Marks: 1
/* Suppose that all needed libraries are included */
int main()
int n;
char c;
scanf("d",&n);
cgetchar();
printf("d, d", n,c);
getch();
return 1;
]
What is the output oI the above program iI user enters the keys 1 2 and ENTER?
Choose one answer.

a. Non-predictable values.


b. 12


c. No output is printed out.


d. 12, 10


e. 12, 13


9
Marks: 1
/* Suppose that all needed libraries are included */
int main()
int n, m;
int result scanf("dd",&n, &m);
printf("d", result);
getch();
return 1;
]
What is the ouput oI the above program iI input is 12asd45 ?
Choose one answer.

a. a non-predictable value.


b. 1


c. 3


d. 2


e. An error is thrown when it executes.


10
/` Suppose that all needed libraries are included `/
int main()
int n, m;
scanf("d,d",&n, &m);
printf("d, d", n, m);
getch();
return 1;
]
When the program executes, user enters 9 100 . What is output?
Choose one answer.

a. Two non-predictable values.


b. No output is printed out.


c. 9 and a non-predictable value.


d. An error when it executes.


Unit 6

1
Marks: 1
Which oI these statements about the array are true?
Choose at least one answer.

a. In C, the index oI an element can be begin Irom 1.


b. An array is stored in contiguously block oI memory and each element is identiIied by its index.


c. The index oI an element can be an integer variable, an integer expression or an integer constant.


d. We use the operator () to access an element oI array.


e. An array is a group oI related elements and they belong the same data type.


2
Marks: 1
The linear search algorithm can be applied on an array in which its elements .......
Choose at least one answer.

a. are in no order.


b. are in descending order.


c. are in ascending order.


d. have diIIerent data types.


3
Marks: 1
Study the binary search algorithm:
int binarySearch (int x, int a||, int low, int high)
while (lowhight)
int mid (lowhigh)/2;
iI ( xa|mid|) return mid ;
else iI (x~a|mid|) lowmid1;
else highmid-1;
}
return -1;
}
Suppose that this Iunction is used as Iollowing:
int a6] 1, 2, 2, 3, 3,5];
int pos binarySearch(3,a,0,5);
What is the value oI the variable pos?

Choose one answer.

a. 3


b. -1


c. 4


d. None oI the others.


4
Marks: 1
Select correct statements.
Choose at least one answer.

a. Flagging technique uses an integer Ior marking elements oI an array when we summarize data oI the array.


b. Flagging technique is applied when user input values to an array only.


c. Flagging technique is used when we summarize data in an array.


d. Flagging technique helps marking some data in an array.


5
Marks: 1
What are the names oI search algorithm applied to an array?
Choose at least one answer.

a. Linear search.


b. Binary search.


c. Random search.


d. Bubble search.


e. Selection search.


6
Marks: 1
Study the Iollowing Iunction:
Suppose that all needed libraries are included.
int search ( int x, int a], int n)
int i;
for ( in-1; i>0 ; i--) if (xai]) return i;
return -1;
]
This Iunction is used as Iollowing:
int a10] 1, 2, 2, 2, 3, 3, 3, 4, 4, 4];
int pos search(3, a, 10);
When the above code executes, what is the value oI the variable pos?
Choose one answer.

a. 6


b. 4


c. 5


d. -1


7
Marks: 1
/* Suppose that all needed libraries are included */
int main()
int a5] 1,2,3,4,5 ];
int`p a;
int i;
for (i0;i<5; i++)
if (i20)
(`p)++;
p++;
]
for (i0;i<5;i++) printf("d, ", ai]);
getch();
return 1;
]
When the above program executes. What is the output?
Choose one answer.

a. 2, 3, 4, 4, 5


b. 15


c. 1, 2, 3, 4, 5


8
Marks: 1
/* Suppose that all needed libraries are included */
int main()
int a5] 1,2,3,4,5 ];
int`p a;
int i;
int S10;
for (i0;i<5; i++)
if (ai]20) S+ai];
printf("d", S);
getch();
return 1;
]
The output oI the program is ......
Choose one answer.

a. 25


b. 12


c. 15


d. 6


e. None oI the others.


9
Marks: 1
/` Suppose that all needed libraries are included `/
void f1 ( int`a, int n)
int i,j,t;
for (i0;i<n-1;i++)
for (jn-1; j>i; j--)
if (aj]>aj-1])
taj];
aj]aj-1];
aj-1]t;
]
]
void f2 (int a], int n)
int i;
for (i0;i<n;i++) printf ("ds ", ai], (i<4 ? "," : "" ));
]
int main()
int a5] 5, 1, 2,4, 3 ];
f1(a,5);
f2(a,5);
getch();
return 1;
]
The output oI the program is ......
Choose one answer.

a. 5, 4, 3, 2, 1


b. 1, 2, 3, 4, 5


c. 2, 4, 1, 3, 5


d. 1, 3, 5, 2, 4


10
Marks: 1
With respect to the binary search algorithm on an array, .......
Choose one answer.

a. this algorithm cannot be applied on array oI characters.


b. The values contained in the array must be in an order (ascending or descending).


c. this algorithm cannot be applied on array oI real numbersaracters.


d. no criterion on the array is required.


Unit 7
1
Marks: 1
Which oI these statements about the s conversion speciIier used in scanI Iunction are true?
Choose at least one answer.

a. It will read all characters until the Iirst white space character.


b. User can not enter any digit.


c. It is usually used when user will enter a word such as the code oI a product.


d. A parameter oI this Iunction must be a string.


e. It requires user entering at least 2 characters.


2
Marks: 1
/` Suppose that all needed libraries are included `/
void f(char S ], char c1, char c2)
int L strlen(S);
int i;
for (i0; i<L; i++)
if (`(S+i) c1) `(S+i)c2;
]
int main()
char S10]"ABCDEFGEH";
f( S, 'E', 0);
printf("s", S);
getch();
return 1;
]
The output oI the program is ......
Choose one answer.

a. ABCD


b. ABCD0FG0H


c. None oI the others.


d. ABCDEFGEH


3
Marks: 1
Which oI these statements about null byte terminator are not true?
Choose one answer.

a. We reIer to the null byte using the escape sequence '\0'.


b. e can describe the null byte as the constant EOF.


c. The null byte is the character with the value (code) 0.


d. We use the null byte to locate the last meaningIul element in a string


4
Marks: 1
Which oI these statements about the |` | speciIier is true when it is used in the scanI Iunction ?
Choose one answer.

a. The scanI Iunction will store the characters read in memory locations starting with the address passed to scanI


b. The scanI Iunction will read all characters until the newline character


c. The scanf function will leave the delimiting character in the input buIIer


d. All oI the others


5
Marks: 1
Which oI the the Iollowing is the result oI the |abcd| conversion speciIier when it is used in the scanI
Iunction and the input is dIgh ?
Choose one answer.

a. abcd


b. Igh


c. dIgh


d. None oI the others


6
Marks: 1
Which is the result oI strcmp(S1, S2) with S1 abcdeIgh and S2 'abcdeIdh?
Choose one answer.

a. A negative integer.


b. Zero.


c. A positive integer.


d. A character.


7
Marks: 1
/` Suppose that all needed libraries are included `/
int main()
char S50] "ABCDEF";
printf("Length:d, s", strlen(S), &S2]);
getch();
return 1;
]
The output oI the program s .......
Choose one answer.

a. Length:6, CDEF


b. 6 and an error is thrown.


c. The program causes an error when it is compiled.


d. 6, CDEF


8
Marks: 1
/` Suppose that all needed libraries are included `/
int main()
char S150] "ABCDEF";
char S250] "GHI";
strcat(S1,S2);
printf("s", S1);
getch();
return 1;
]
What is the output oI the program?
Choose one answer.

a. ABCDEFGHI


b. 6


c. An error is thrown when it is compiled.


d. ABCDEF


e. 9


9
Marks: 1
Study three Iollowing code segments:
(1)
char S50] "ABCD";
puts(S);
(2)
char S50] "ABCD";
printf("s",S);
(3)
char S50] "ABCD";
printf("s \n",S);
Choose one answer.

a. (1) and (2) have the same output.


b. (2) and (3) have the same output.


c. All oI them have diIIerent outputs.


d. (1) and (3) have the same output.


10
Marks: 1
Suppose the string library was included. Study the Iollowing C-code:
char S110]"AB";
char S210]"AB1";
printf("d, d", strcmp(S1,S2), strcmp(S2,S1));
The output oI the above code is:
Choose one answer.

a. Non-predictable values.


b. a negative and a positive integers.


c. The Iunction strcmp(...) is not in string.h


d. Two 0s.


e. a positive and a negative integers.



Unit 8
1
Marks: 1
The Iunction Iopen(...) is used Ior openning a text Iile. Which oI the Iollowing mode parameters can not be used?
Choose at least one answer.

a. rt


b. art


c. RW


d. wt


e. at


2
Marks: 1
What in the Iollowing Iile operations should be used when the Iile closed only?
Choose at least one answer.

a. renaming a Iile.


b. seeking in a Iile.


c. rewinding a Iile.


d. get Iile size.


e. remove a Iile.


3
Marks: 1
Which oI these statements about Iile Iormat types are true?
Choose at least one answer.

a. With text Iormat, the data on the Iile can be modiIied using a text editor.


b. With text Iormat, data Irom a Iile can be read directly to a numeral variable with no tranIormation.


c. With text Iormat, data in a the Iile are stored as ASCII code oI characters.


d. With binary Iormat, data in a Iile can be modiIied using text editor.


4
Marks: 1
In C, which oI Iollowing Iunctions can be used to write data to a Iile?
Choose at least one answer.

a. gets


b. Iputc


c. IprintI


d. Igets


e. Igetc


I. Iputs


g. puts


h. Igetchar


5
Marks: 1
Text Iormat is used. Which oI these statements about table, record, and Iields are not true?
Choose at least one answer.

a. A record is a sequence oI characters that ends with a new line delimiter.


b. Typically, one table reIers to one entity oI inIormation


c. Table is a collection oI records


d. A record consists oI Iields


e. A new line delimiter must be used to separate two adjacent Iields oI a record.


I. A Iield may be oI any data type


6
Marks: 1
Select correct statements.
Choose at least one answer.

a. We can rename a Iile iI the Iile is closed.


b. We can rewind a Iile only iI the Iile is closed.


c. We can rename a Iile although the Iile is openning.


d. The Iile can be remove iI it is openning.


e. Rewinding a Iile will move current position to the beginning oI the Iile.


7
Marks: 1
Suppose that a value oI the int type will be stored in 4 bytes.
int n7;
In C, iI this variable is written to a textIile (using ASCII code), it will take ... byte(s) in the Iile.
Choose one answer.

a. 2


b. 4


c. 3


d. 1

8
Marks: 1
Suppose that a value oI the int type will be stored in 4 bytes.
int n7;
In C, iI this variable is written to a binary Iile, it will take ... byte(s) in the Iile.
Choose one answer.

a. 1


b. 4


c. 2


d. 3

9
Marks: 1
Select correct statement(s).
Suppose that a value oI the int type will be stored in 4 bytes.
(1) Writing int values into text Iile will make the Iile having small size.
(2) Writing int values into text Iile will make the Iile having large size.
(3) Writing int values into text Iile is less eIIicient because type conversions are needed.
Choose one answer.

a. (1) and (3)


b. None oI the others.


c. (3)


d. (2) and (3)

10
Marks: 1
What guideline should be examined beIore working with a text Iile?
(1) data Iormat in the Iile must be known or designed.
(2) number oI values in the Iile must be known .
(3) Last date modiIied oI the Iile must be known.
Choose one answer.

a. 3


b. 1


c. 2


d. None oI the others.


Unit 9
1
Marks: 1
Which oI these statements about the black-box testing are not true?
Choose at least one answer.

a. External Iactors, such as logic-driven, and path-oriented, are determinant


b. Each possible path through the code is executed at least once. The number oI possibilities to be tested may be too
great

c. Synonyms Ior black-box include: structural, glass-box and clear-box


d. External Iactors, such as testing to speciIications, input-output driven, and data driven, are determinant


e. Synonyms Ior black-box include: behavioral, Iunctional, opaque-box, and closed-box

2
Marks: 1
........soItware development model(s) has (have) some phases that are concurrently carried out.
Choose one answer.

a. WaterIall and practical


b. None oI the others.


c. Practical


d. WaterIall

3
Marks: 1
Methods are used in testing a soItware are ...
Choose at least one answer.

a. White box testing


b. Black box testing.


c. Action testing


d. Statement testing

4
Marks: 1
Which oI these statements about comparing the diIIerence oI WaterIall and Open Source Model are true?
Choose one answer.

a. The Open Source is seldom reliability than WaterIall Models


b. The WaterIall Models Iocus is user-driven rather than concept driven in Open Source Models


c. None oI the others

5
Marks: 1
Statement 1: II a program works then it is good designed.
Statement 2: II the program models a real world situation, it can be hardly upgraded.
Choose one answer.

a. One oI two statements is true.


b. The statement 2 is true.


c. Both oI them are Ialse.


d. The statement 1 is true.

6
Marks: 1
Study the Iollowing steps in soItware development process:
(1) Analysis
(2) Design
(3) Implementing
(4) Deploying
(5) Maintenance
The correct order oI them is ..........
Choose one answer.

a. 1, 2, 3, 4, 5


b. None oI the others.


c. 1, 3, 2, 4, 5


d. 2, 3, 1, 4, 5

7
Marks: 1
The output oI a program is incorrect. It may be caused by ......
Choose at least one answer.

a. the algorithm is wrong.


b. a semantic error.


c. a syntactical error.

8
Marks: 1
Restricting our use oI the language to the standard subset oI a language will create the ......... oI a program.
Choose one answer.

a. portability


b. eIIiciency


c. correctness


d. reliability

Analysis and maintenance are ............. phases in the soIware development process.
Choose one answer.

a. intermediate


b. None oI the others.


c. last and Iirst


d. Iirst and last

Anda mungkin juga menyukai