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
The process data is called
Choose an answer
data
information
processing
none
Previous
Skip
Next
Question # 2
Which is the correct sequence of steps for creating and executing C program?
Choose an answer
Editing
→ saving
→ compiling
→ linking
→ Executing
Compiling
→
Editing
→ saving
→ Executing
→ linking
Editing
→ Executing
→ Compiling
→ Linking
Linking
→
Executing
→ saving
→ Editing
→ compiling
Previous
Skip
Next
Question # 3
The output of the statement print ("%2f', 11.4519), is
Choose an answer
11.4519
11.45
11.51
11
Previous
Skip
Next
Question # 4
What is the final value of x after executing the following code:
For (int x=0; x<10; X++)
Choose an answer
10
9
0
1
Previous
Skip
Next
Question # 5
The format specifier for output are:
Choose an answer
%d for int and %f for float
%c for char
%s for string
All
Previous
Skip
Next
Question # 6
Which are basic data distribution strategies?
Choose an answer
Centralized
Partitioned
Replication
All
Previous
Skip
Next
Question # 7
Which of the following symbol is used to denote a pre-processor statement?
Choose an answer
%
$
#
@
Previous
Skip
Next
Question # 8
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 # 9
A database consists of various components called the
Choose an answer
tool
properties
entities
object
Previous
Skip
Next
Question # 10
Key is used in
Choose an answer
If statement
Else if statement
Switch statement
All of the above
Previous
Skip
Next
Question # 11
If for each entity in B there is only one related entity in A then the relationship between the entities is
Choose an answer
One to one
One to many
Many to many
None
Previous
Skip
Next
Question # 12
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 # 13
DBMS stands for
Choose an answer
Database management system
Database mechanism system
Database manipulating system
Database Microsoft system
Previous
Skip
Next
Question # 14
In 3NT which form of dependency is removed ?
Choose an answer
functional
non-functional
associative
transitive
Previous
Skip
Next
Question # 15
Which criteria can be used to find four-character name that starts with H?
Choose an answer
H*4
H?4
H???
H####
Previous
Skip
Next
Question # 16
Which of the following file contains the software instructions?
Choose an answer
Program file
Data file
Both a and b
None
Previous
Skip
Next
Question # 17
Format specifier is started with symbol:
Choose an answer
?
%
&
*
Previous
Skip
Next
Question # 18
Which is a possible value of flag?
Choose an answer
-
+
Space
All of these
Previous
Skip
Next
Back