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 are basic data distribution strategies?
Choose an answer
Centralized
Partitioned
Replication
All
Previous
Skip
Next
Question # 2
In if statement , true is represented by:
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 3
Microsoft Access saves the database with extension
Choose an answer
mdb
msdb
madb
none of them
Previous
Skip
Next
Question # 4
Which of the following language provided the basis for the development of c:
Choose an answer
C++
B
JAVA
Pascal
Previous
Skip
Next
Question # 5
The number of bytes used by int data type in C is:
Choose an answer
2
8
12
16
Previous
Skip
Next
Question # 6
Turbo C++ can compile:
Choose an answer
C programs only
C and C++ programs
Turbo C Programs only
Turbo C++ programs only
Previous
Skip
Next
Question # 7
____________ is used to specify two different choices with "if" statement.
Choose an answer
Switch
Else
If
If-else
Previous
Skip
Next
Question # 8
The value of expression in switch statement must be type of
Choose an answer
int
char
float
both a and b
Previous
Skip
Next
Question # 9
Stdio stands for:
Choose an answer
Standard input output
Symbolicinput output
Simpleinput output
Stringinput output
Previous
Skip
Next
Question # 10
Compiled programs typically execute faster because:
Choose an answer
Compiled programs are read and executed a line at a time
Compiled programs are already in a machine-readable form.
Compiled programs do not require any data
None of these
Previous
Skip
Next
Question # 11
Which of the following file is used to store additional copy of data?
Choose an answer
Master file
Transaction file
Backup file
None
Previous
Skip
Next
Question # 12
A special value that marks the end of a list of input data is called:
Choose an answer
Terminal value
Sentinel Value
Loop control value
Input value
Previous
Skip
Next
Question # 13
The extension for a video file is:
Choose an answer
.avi
.mpg
.txt
a and b
Previous
Skip
Next
Question # 14
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 # 15
Which is NOT a rule for naming variables?
Choose an answer
Use a descriptive name for the value
Start the name of variable with a letter
Use nothing but letters, digits, or the underscore character
All the above
Previous
Skip
Next
Question # 16
When is for loop more appropriate then while loop?
Choose an answer
The termination condition is known in advance
The number of iterations is not known in advance
The loop should be executed only once
The loop should be executed at least once
Previous
Skip
Next
Question # 17
Another term for a conditional operator is:
Choose an answer
Ternary
Binary
Byte
Iteration
Previous
Skip
Next
Question # 18
Which character signifies the beginning of an escape sequence?
Choose an answer
{
\
//
/
Previous
Skip
Next
Back