You are on page 1of 42

Unit 1

1
Marks: 1
Program ....
Choose at least one answer.
a. is a collection of functions.
b. is a simulation of solution.
c. is the result of a programming process.
d. is a set of instructions that computer hardware will execute.
e. is written by C language only.

2
Marks: 1
Data is stored in computer memory in .........
Choose one answer.
a. decimal format.
b. hexadecimal format.
c. octal format.
d. binary format.

3
Marks: 1
Which of these statements about primary memory are not true?
Choose at least one answer.
a. Primary memory holds the information 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
Marks: 1
(1) One byte consists of 4 nibbles.
(2) One nibble consists of 2 consecutive bits
Choose at least one answer.
a. (1): false
b. (1) true.
c. (2): true.
d. (2): false

5
Marks: 1
Which of these statements about fundamental unit in CPU is true?
Choose one answer.
a. The natural unit of the CPU is a int
b. The natural unit of the CPU is a numeric
c. The natural unit of the CPU is a bit
d. The natural unit of the CPU is a word
e. The natural unit of the CPU is a byte

6
Marks: 1
Which of these definitions 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 specific values of a program.
c. The addresses are either register names or primary memory addresses.
d. Each program instruction consists of an operation and operands.
e. Each program instruction consists of an expression only.

7
Marks: 1
Comments of a program ......
Choose at least one answer.
a. are used for documenting a program.
b. are omitted by the compiler.
c. enhance the readability of a program.
d. are translated into instructions after the program is compiled.

8
Marks: 1
Select correct properties of 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 functional language.
c. C language is case-insensitive language.
d. C is case sensitive language.
e. C language is a low-level language.

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

a. A compiler will translate each statement of source code into machine code then CPU
executes this statement.
b. An interpreter will iterate to translate each statement of source code into machine code then
CPU execute these binary code of this statement.
c. Compiler of 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 identifying 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
1
Marks: 1
Which type qualifiers are defined in C?
Choose at least one answer.
a. short
b. complex
c. double
d. array
e. long

2
Marks: 1
In C, select correct statements.
Choose at least one answer.
a. The expression x=y; will copy value of the variable x to the variable y.
b. The expression x=y; will copy value of the variable y to the variable x.
c. A constant character must be enclosed by a pair of double or single quotes.
d. A constant string must be enclosed by a pair of double quotes.

3
Marks: 1
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 of them are true
c. 1, 4 true
d. 2, 4 true
e. 1, 3 true
f. 1, 2 true
g. All of them are false

4
Marks: 1
Which of the following is an invalid identifier?
Choose at least one answer.
a. employee salary
b. False
c. _123
d. +ab
e. 45n
f. True
5
Marks: 1
Which of these statements about constants are not true?
Choose at least one answer.
a. The compiler allocates memory for constants.
b. The compiler does not allocate memory for constants.

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


d. The compiler compiles constants.
6
Marks: 1
What are the right matching?
Character

Sequence

a. Newline

\t

b. vertical tab

\v

c. backslash

d. alarm

\r

e. backspace

\b

f. question mark

\?

Choose at least one answer.


a. a
b. f
c. e
d. c
e. b
f. d
7
Marks: 1

In C language,
(1) The == operator is used for setting a value to a variable.
(2) The = operator is used for checking whether two numbers are equal or not.
Choose at least one answer.
a. (2): true.
b. (2): false
c. (1): false
d. (1) true.
8
Select correct statements. With respect to ASCII, ..........
Choose at least one answer.
a. Binary ASCII code of the character a is 0100 0001
b. Binary ASCII code of the digit 1 is 0000 0001
c. Binary ASCII of the character A is 0100 0001
d. The code of a uppercase character is less than the code of a lowercase character.
e. The code of a digit is less than the code of an alphabet.
9
Marks: 1
Select correct conversion specifiers for an int variable in C lanaguge.
Choose at least one answer.
a. %f
b. %o
c. %e

d. %d
e. %u

Unit 3
1
Marks: 1
In C language, the selection constructs use .......
Choose at least one answer.
a. while
b. switch
c. for
d. ?:
e. if else
f. if else then
2
Marks: 1
Suppose that the following codes are executed. What is the output?
long S=10;
long i=1;
while (i<=10)
{ if (i%2==0) S+=i;
i++;
}
printf("%ld", S);
Choose one answer.
a. 32

b. 38
c. 46
d. 40
e. 36
3
Marks: 1
Flags is a technique that supports using goto, continue statements
Choose one answer.
a. True
b. False
4
Marks: 1
To improve readability, programmers are recommended .......
Choose at least one answer.
a. using whitespace to identify the logical structure of the code.
b. using goto statements as needed.
c. removing continue statements.
d. using break statements as needed.
e. using comments.
5
Marks: 1
1. The rule in C is that an else statement always belongs to the innermost if available
2. The rule in C is that an else statement always belongs to the outermost if available
Choose one answer.
a. Only 2nd statement is true

b. Only 1st statement is true


c. Both 1 and 2 statements are false
d. Both 1 and 2 statements are true
6
Marks: 1
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 significant effort and private style.
7
Marks: 1
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 for evaluating the performance of a program.
c. A table that contains all program variables is used in walkthrough process.
d. Walkthrough is a manual process for recording all changes of program variables when the
program executes instruction-by-instruction.
e. A listing of the output, if any, produced by the program is carried out when we do a
walkthrough..
8
Marks: 1
Suppose that the following codes execute and input data are 9 and 12.

int m,n;
printf("Enter two integers:");
scanf("%d%d",&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 of the others.
b. 21
c. -3
d. 3
9
Marks: 1
Suppose that the following codes execute. What is the output?
long S=10;
long i;
for (i=1; i<10; i++) if (i%3==0) S+=i;
printf("%ld", S);
Choose one answer.
a. 19
b. 31
c. 16
d. 22
e. None of the others.

Unit 4

1
Marks: 1
In C, which of these statements are not true?
Choose at least one answer.
a. #include filename using with filename locate in system directory.
b. We can collect function prototypes into a file and refer to the file in our program
c. We use the #include directive to instruct the compiler to insert a copy of the header file into
our source code.
d. #include <filename> using with filename locate in user directory
e. # is a symbol of postprocessor indicators

2
Marks: 1
What is the output if the following code executes.
int n=3, m=7;
int* p1= &n, *p2=&m;
*p1 -= m+n- 3*(*p2);
*p2 += *p1%2 ? 2 : 5;
printf ("%d", m-n);
Choose one answer.
a. -5
b. None of the others.
c. -4
d. 6
e. 4

3
Marks: 1
In C, incorrect order(s) of a function implementation:
Choose at least one answer.
a. Return type, body, function name, parameters
b. Return type, body, parameters, function name
c. Return type, function name, parameters, body
d. Return type, parameters, body, function name

4
Marks: 1
Which of these statements about the function is true?
Choose one answer.
a. All of the others
b. The body is the code block that contains the module instructions and generates the return
value
c. A function definition consists of a header and a body
d. A function that does not return a value is called a subroutine or procedure in other languages
e. A function may receive data and may return a value

5
Marks: 1
Select correct statement(s).
Choose at least one answer.
a. Actual parameter is a parameter in function implementation.
b. Formal parameter is a parameter that is transfered to a function when it is called.

c. Actual parameter is a parameter that is transfered to a function when it is called.


d. Formal parameter is a parameter in function implementation.

6
Marks: 1
Select the statements that belong to low cohesion
Choose at least one answer.
a. "logical" - related tasks of which only one is performed - the module identifier suggests a
choice
b. "functional" - performs a single specific task - the module identifier 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
Marks: 1
In C, with reference to property of reusing a function, the function that will check
whether an integer is a prime or not, should be declared as ........
Choose one answer.
a. a void function.
b. a function that returns a real number.
c. a function that will return an integer.
d. None of the others
e. a function that returns a string a characters.

8
Marks: 1

Study the following function:


int t (int x, int y, int z)
{ return x+y+z>20 ? 10 : 20;
}
If this function is called as following with input data are 5 10 15. What is the output?
int a,b,c;
printf("Enter 3 integers:");
scanf("%d%d%d", &a, &b, &c);
printf("%d", t(b,c,a));
Choose one answer.
a. None of the others.
b. 20
c. -10
d. 10

9
Marks: 1
Study the function implementation and a case of using this function.
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
Marks: 1
Suppose that the following codes execute. What is the output.
int n=3, m=7;
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
Marks: 1
Which of these statements about the scanf function are true?
Choose at least one answer.
a. The return code from scanf reflects success of %* conversions
b. scanf retrieves data values from every keystroke directly

c. interpreted and processed the entire format string


d. scanf treats the whitespace between the input values as a separator
e. If the buffer is empty, the function scanf will wait until the user adds more data values

2
Marks: 1
Select incorrect statements.
Choose at least one answer.
a. The specifier %hex is used for printing out an integer in hexadecimal format.
b. The specifier %e is used for printing out a real number in scientific format.
c. The specifier %u is used for printing out a unsigned integer.
d. The specifier %b is used to print out an integer in binary format.

3
Marks: 1
The getchar function can do
Choose one answer.
a. clearing the buffer automatically after retrieving
b. None of the others
c. treats the whitespace between the input values as a separator
d. retrieves data values from every keystroke directly

4
Marks: 1
What library includes function to generate random numbers?
Choose one answer.

a. conio.h
b. stdio.h
c. stdlib.h
d. math.h

5
Marks: 1
Validation do not include
Choose one answer.
a. out-of-range input
b. invalid characters
c. trailing characters
d. None of the others
e. incorrect number of input fields

6
Marks: 1
Which of these statements about format string are not true?
Choose one answer.
a. size identifies the size of data type of the value passed.
b. % flags width . precision size conversion_character
c. - describes left justification of the converted value in its field
d. None of the others
e. 0 pads the field width with leading zeros

7
Marks: 1
What is the output of the following 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);
c=getchar();
printf("%d, %d", n,c);
getch();
return 1;
}
What is the output of the above program if 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("%d%d",&n, &m);
printf("%d", result);
getch();
return 1;
}
What is the ouput of the above program if 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
Marks: 1

/* 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 of these statements about the array are true?
Choose at least one answer.
a. In C, the index of an element can be begin from 1.
b. An array is stored in contiguously block of memory and each element is identified by its
index.
c. The index of an element can be an integer variable, an integer expression or an integer
constant.
d. We use the operator () to access an element of array.
e. An array is a group of 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 different data types.

3
Marks: 1
Study the binary search algorithm:
int binarySearch (int x, int a[], int low, int high)
{ while (low<=hight)
{ int mid= (low+high)/2;
if ( x==a[mid]) return mid ;
else if (x>a[mid]) low=mid+1;
else high=mid-1;
}
return -1;
}
Suppose that this function is used as following:
int a[6] = { 1, 2, 2, 3, 3,5};
int pos = binarySearch(3,a,0,5);
What is the value of the variable pos?
Choose one answer.
a. 3
b. -1
c. 4

d. None of the others.

4
Marks: 1
Select correct statements.
Choose at least one answer.
a. Flagging technique uses an integer for marking elements of an array when we summarize
data of 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 of 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 following function:
Suppose that all needed libraries are included.
int search ( int x, int a[], int n)
{ int i;

for ( i=n-1; i>=0 ; i--) if (x==a[i]) return i;


return -1;
}
This function is used as following:
int a[10] = { 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 of 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 a[5]= { 1,2,3,4,5 };
int*p= a;
int i;
for (i=0;i<5; i++)
if (i%2==0)
{ (*p)++;
p++;
}
for (i=0;i<5;i++) printf("%d, ", a[i]);
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 a[5]= { 1,2,3,4,5 };
int*p= a;
int i;
int S=10;
for (i=0;i<5; i++)
if (a[i]%2==0) S+=a[i];
printf("%d", S);
getch();
return 1;
}
The output of the program is ......
Choose one answer.
a. 25
b. 12
c. 15
d. 6
e. None of the others.

9
Marks: 1
/* Suppose that all needed libraries are included */
void f1 ( int*a, int n)
{ int i,j,t;
for (i=0;i<n-1;i++)
for (j=n-1; j>i; j--)

if (a[j]>a[j-1])
{ t=a[j];
a[j]=a[j-1];
a[j-1]=t;
}
}
void f2 (int a[], int n)
{ int i;
for (i=0;i<n;i++) printf ("%d%s ", a[i], (i<4 ? "," : "" ));
}
int main()
{ int a[5]= { 5, 1, 2,4, 3 };
f1(a,5);
f2(a,5);
getch();
return 1;
}
The output of 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 of characters.
b. The values contained in the array must be in an order (ascending or descending).
c. this algorithm cannot be applied on array of real numbersaracters.
d. no criterion on the array is required.

Unit 7
1
Marks: 1
Which of these statements about the %s conversion specifier used in scanf function are
true?
Choose at least one answer.
a. It will read all characters until the first 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 of a product.
d. A parameter of this function 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 (i=0; i<L; i++)
if (*(S+i) == c1) *(S+i)=c2;
}
int main()
{ char S[10]="ABCDEFGEH";
f( S, 'E', 0);
printf("%s", S);
getch();
return 1;
}
The output of the program is ......
Choose one answer.

a. ABCD
b. ABCD0FG0H
c. None of the others.
d. ABCDEFGEH

3
Marks: 1
Which of these statements about null byte terminator are not true?
Choose one answer.
a. We refer to the null byte using the escape sequence '\0'.
b. We 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 meaningful element in a string

4
Marks: 1
Which of these statements about the %[^ ] specifier is true when it is used in the scanf
function ?
Choose one answer.
a. The scanf function will store the characters read in memory locations starting with the
address passed to scanf
b. The scanf function will read all characters until the newline character
c. The scanf function will leave the delimiting character in the input buffer
d. All of the others

5
Marks: 1
Which of the the following is the result of the %[abcd] conversion specifier when it is
used in the scanf function and the input is dfgh ?
Choose one answer.
a. abcd
b. fgh
c. dfgh
d. None of the others

6
Marks: 1
Which is the result of strcmp(S1, S2) with S1 =abcdefgh and S2 = abcdefdh?
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 S[50]= "ABCDEF";
printf("Length:%d, %s", strlen(S), &S[2]);
getch();
return 1;
}
The output of 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 S1[50]= "ABCDEF";
char S2[50]= "GHI";
strcat(S1,S2);
printf("%s", S1);
getch();
return 1;
}
What is the output of 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 following code segments:


(1)
char S[50]= "ABCD";
puts(S);
(2)
char S[50]= "ABCD";
printf("%s",S);
(3)
char S[50]= "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 of them have different outputs.
d. (1) and (3) have the same output.

10
Marks: 1
Suppose the string library was included. Study the following C-code:
char S1[10]="AB";
char S2[10]="AB1";
printf("%d, %d", strcmp(S1,S2), strcmp(S2,S1));
The output of the above code is:

Choose one answer.


a. Non-predictable values.
b. a negative and a positive integers.
c. The function strcmp(...) is not in string.h
d. Two 0s.
e. a positive and a negative integers.

Unit 8
1
Marks: 1
The function fopen(...) is used for openning a text file. Which of the following mode
parameters can not be used?
Choose at least one answer.
a. rt
b. art
c. RW
d. w+t
e. a+t

2
Marks: 1

What in the following file operations should be used when the file closed only?
Choose at least one answer.
a. renaming a file.
b. seeking in a file.
c. rewinding a file.
d. get file size.
e. remove a file.

3
Marks: 1
Which of these statements about file format types are true?
Choose at least one answer.
a. With text format, the data on the file can be modified using a text editor.
b. With text format, data from a file can be read directly to a numeral variable with
no tranformation.
c. With text format, data in a the file are stored as ASCII code of characters.
d. With binary format, data in a file can be modified using text editor.

4
Marks: 1
In C, which of following functions can be used to write data to a file?
Choose at least one answer.

a. gets
b. fputc
c. fprintf
d. fgets
e. fgetc
f. fputs
g. puts
h. fgetchar

5
Marks: 1
Text format is used. Which of these statements about table, record, and fields are not true?
Choose at least one answer.
a. A record is a sequence of characters that ends with a new line delimiter.
b. Typically, one table refers to one entity of information
c. Table is a collection of records
d. A record consists of fields
e. A new line delimiter must be used to separate two adjacent fields of a record.
f. A field may be of any data type

6
Marks: 1

Select correct statements.


Choose at least one answer.
a. We can rename a file if the file is closed.
b. We can rewind a file only if the file is closed.
c. We can rename a file although the file is openning.
d. The file can be remove if it is openning.
e. Rewinding a file will move current position to the beginning of the file.

7
Marks: 1
Suppose that a value of the int type will be stored in 4 bytes.
int n=7;
In C, if this variable is written to a textfile (using ASCII code), it will take ... byte(s) in the file.
Choose one answer.
a. 2
b. 4
c. 3
d. 1
8
Marks: 1
Suppose that a value of the int type will be stored in 4 bytes.
int n=7;

In C, if this variable is written to a binary file, it will take ... byte(s) in the file.
Choose one answer.
a. 1
b. 4
c. 2
d. 3
9
Marks: 1
Select correct statement(s).
Suppose that a value of the int type will be stored in 4 bytes.
(1) Writing int values into text file will make the file having small size.
(2) Writing int values into text file will make the file having large size.
(3) Writing int values into text file is less efficient because type conversions are needed.
Choose one answer.
a. (1) and (3)
b. None of the others.
c. (3)
d. (2) and (3)
10
Marks: 1
What guideline should be examined before working with a text file?
(1) data format in the file must be known or designed.

(2) number of values in the file must be known .


(3) Last date modified of the file must be known.
Choose one answer.
a. 3
b. 1
c. 2
d. None of the others.

Unit 9
1
Marks: 1
Which of these statements about the black-box testing are not true?
Choose at least one answer.
a. External factors, such as logic-driven, and path-oriented, are determinant
b. Each possible path through the code is executed at least once. The number of possibilities to
be tested may be too great
c. Synonyms for black-box include: structural, glass-box and clear-box
d. External factors, such as testing to specifications, input-output driven, and data driven, are
determinant
e. Synonyms for black-box include: behavioral, functional, opaque-box, and closed-box
2
Marks: 1
........software development model(s) has (have) some phases that are concurrently carried
out.
Choose one answer.
a. Waterfall and practical
b. None of the others.

c. Practical
d. Waterfall
3
Marks: 1
Methods are used in testing a software are
Choose at least one answer.
a. White box testing
b. Black box testing.
c. Action testing
d. Statement testing
4
Marks: 1
Which of these statements about comparing the difference of Waterfall and Open Source
Model are true?
Choose one answer.
a. The Open Source is seldom reliability than Waterfall Models
b. The Waterfall Models focus is user-driven rather than concept driven in Open Source Models
c. None of the others
5
Marks: 1
Statement 1: If a program works then it is good designed.
Statement 2: If the program models a real world situation, it can be hardly upgraded.
Choose one answer.
a. One of two statements is true.
b. The statement 2 is true.
c. Both of them are false.
d. The statement 1 is true.
6
Marks: 1
Study the following steps in software development process:

(1) Analysis
(2) Design
(3) Implementing
(4) Deploying
(5) Maintenance
The correct order of them is ..........
Choose one answer.
a. 1, 2, 3, 4, 5
b. None of the others.
c. 1, 3, 2, 4, 5
d. 2, 3, 1, 4, 5
7
Marks: 1
The output of 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 of the language to the standard subset of a language will create
the ......... of a program.
Choose one answer.
a. portability
b. efficiency
c. correctness
d. reliability
Analysis and maintenance are ............. phases in the sofware development process.

Choose one answer.


a. intermediate
b. None of the others.
c. last and first
d. first and last