More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
Computer Science Ics Part 2 Online Test MCQs With Answers
Question # 1
Which is NOT a valid statement to initialize a variable?
Choose an answer
int n=100;
long,population=15000;
char n []="hello World";
cons int N=100;
Previous
Skip
Next
Question # 2
The operator that is used in decision making is
Choose an answer
increment operator
decrement operator
condition operator
none
Previous
Skip
Next
Question # 3
The forms are ___________ end of our database in Microsoft Access.
Choose an answer
Back
Front
Both A and B
None
Previous
Skip
Next
Question # 4
Which button of Find an Replace dialog box is clicked to start the search process?
Choose an answer
Find
Find Next
Search
Next
Previous
Skip
Next
Question # 5
How many form layouts are provided by MS Access?
Choose an answer
2
4
6
8
Previous
Skip
Next
Question # 6
C is ------------------ level language
Choose an answer
high
medium
low
a and b
Previous
Skip
Next
Question # 7
Which of the following statements is the simplest form of a decision structure?
Choose an answer
Select..case
If statement
Try..Catch..Finally
Nested if
Previous
Skip
Next
Question # 8
Which of the following set (s) of tables would benefit from a sub form
Choose an answer
A customer table and the customer order table
A customer table and product table
A customer table and foreign currency table
A customer table and a customer contact table
Previous
Skip
Next
Question # 9
Which programming structure executes program statements in order?
Choose an answer
Relation
Decision
Sequence
Repition
Previous
Skip
Next
Question # 10
What is the value of "a" after execution the following code segment:
int a=2;
int b=0;
while(b<5)
{ a=a*2;
b=b+1;
}
a=a+1;
Choose an answer
64
65
66
67
Previous
Skip
Next
Question # 11
Which is a possible value of flag?
Choose an answer
-
+
Space
All of these
Previous
Skip
Next
Question # 12
Which format specific is used for integer data type?
Choose an answer
%d
%S
%C
%f
Previous
Skip
Next
Question # 13
A person's name, birthday and social security number are examples of:
Choose an answer
Attributes
Entities
Relationships
Descriptors
Previous
Skip
Next
Question # 14
Conditional operator takes _____________ operands.
Choose an answer
3
2
1
5
Previous
Skip
Next
Question # 15
Which escape sequence can move the cursor at the beginning of current line in C?
Choose an answer
\a
\b
\m
\r
Previous
Skip
Next
Question # 16
Which of the following is the correct association?
Choose an answer
File = column
Record = row
Field = row
Record = table
Previous
Skip
Next
Question # 17
Add new record to the table in datasheet by typing data beside the
Choose an answer
*
!
@
=
Previous
Skip
Next
Question # 18
On successfully closing a file the f close () returns
Choose an answer
Null
0
1
File pointer
Previous
Skip
Next
Back