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 function is used to input data in C program?
Choose an answer
scanf
getch()
gets()
All
Previous
Skip
Next
Question # 2
The name of actual and formal parameters
Choose an answer
May or may not be same
Must be same
Must be different
Must be in lowercase
Previous
Skip
Next
Question # 3
What does a compound condition use to join two condition?
Choose an answer
Relational operator
Logical operator
Relational Results
Logical results
Previous
Skip
Next
Question # 4
Which does not improve data entry?
Choose an answer
Input masks
Validation rules
Indexing
Required fields
Previous
Skip
Next
Question # 5
Which escape sequence can be used to insert a tab in c:
Choose an answer
\a
\b
\t
\n
Previous
Skip
Next
Question # 6
Which of the following view in MS Access is used to define the structure of table?
Choose an answer
Datasheet
QBE
Relationship
Design
Previous
Skip
Next
Question # 7
Manipulated of data to achieve required objectives and result is called:
Choose an answer
Data processing
Operation
a and b
None
Previous
Skip
Next
Question # 8
Which of the following is the correct association?
Choose an answer
File = column
Record = row
Field = row
Record = table
Previous
Skip
Next
Question # 9
Every relation must have:
Choose an answer
Primary key
Candidate key
Secondary key
All of these
Previous
Skip
Next
Question # 10
The number of bytes used by float data type in C is:
Choose an answer
2
4
121
16
Previous
Skip
Next
Question # 11
Which of the following header file contains information about common mathematical functions?
Choose an answer
stdio.h
math.h
conio.h
None of these
Previous
Skip
Next
Question # 12
The entity integrity rule states that:
Choose an answer
No primary key attribute can be null
Each entity must have a primary key
Primary key must have only one attribute
None
Previous
Skip
Next
Question # 13
The conditional part of if statement consists of expression
Choose an answer
arithmetic
logical expression
relational
both b and c
Previous
Skip
Next
Question # 14
The foreign key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 15
Switch statement is an alternative of:
Choose an answer
if
if-else
Nested if
Nested if-else
Previous
Skip
Next
Question # 16
The relationship can be:
Choose an answer
One-to-one
One-to-many
Many-to-many
All
Previous
Skip
Next
Question # 17
The process of changing of source code into object code is celled:
Choose an answer
Compiling
Executing
Linking
Saving
Previous
Skip
Next
Question # 18
The foreign key is found in
Choose an answer
parent table
dependent table
pivot table
index table
Previous
Skip
Next
Question # 19
Which of the following are anomalies that can be caused by redundancy in tables?
Choose an answer
Insertion
Deletion
Modification
All
Previous
Skip
Next
Question # 20
Format specifier is started with:
Choose an answer
'?
&
%
None
Previous
Skip
Next
Question # 21
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 # 22
Which of the following is the valid character constant
Choose an answer
A
"B"
"6"
=
Previous
Skip
Next
Back