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
ICS Part 2 Computer Science Online Test MCQs With Answers
Question # 1
When displaying a sub-form with in a main form, which form is based on the primary table?
Choose an answer
Neither main form nor sub-form
The sub-form
The main form
Both the main form and the sub-form
Previous
Skip
Next
Question # 2
A constraint that no primary key should contain nulls is known as:
Choose an answer
Normalization
Dependence
Entity integrity
SQL query
Previous
Skip
Next
Question # 3
The maximum numbers of tables in a database can be:
Choose an answer
1
2
3
Any
Previous
Skip
Next
Question # 4
Which of the following syntax is used to include header file?
Choose an answer
#include<name of header file>
#include"name of header file"
Both a or b
None of these
Previous
Skip
Next
Question # 5
Types of translators are:
Choose an answer
Compiler
Interpreter
Assembler
All of these
Previous
Skip
Next
Question # 6
Which data type can be used to define a field that is also formatted for data entry and display?
Choose an answer
Text and Memo
Number and Currency
Date/Time
All
Previous
Skip
Next
Question # 7
The header file that contains input and output functions is
Choose an answer
Math.h
Graphic.h
Stdio.h
Conio.h
Previous
Skip
Next
Question # 8
A relation is also known as
Choose an answer
Table
Tuple
Relationship
Attribute
Previous
Skip
Next
Question # 9
An integer variable can store the value:
Choose an answer
-1.1
"123"
32898
5.5
Previous
Skip
Next
Question # 10
Which operator in C is called a ternary operator?
Choose an answer
if
++
?
( )
Previous
Skip
Next
Question # 11
Which escape sequence can be used to beep from speaker in c:
Choose an answer
\a
\b
\m
\n
Previous
Skip
Next
Question # 12
Which statement is used to move the control to the start of loop body?
Choose an answer
Continue
Break
Switch
Goto
Previous
Skip
Next
Question # 13
Which of the following is equivalent to (p>=q)?
Choose an answer
p<q
!(p<q)
p<q
1p<q
Previous
Skip
Next
Question # 14
Where should be the loop control variable initialized?
Choose an answer
Before the loop starts
In the first statement of the loop body
In the last statement of the loop body
Anywhere in the loop body
Previous
Skip
Next
Question # 15
A file is stored in:
Choose an answer
RAM
ROM
Cache
Hard disk
Previous
Skip
Next
Question # 16
A subform can be created using:
Choose an answer
Drag and drop method
The form Wizard
Subform wizard
All
Previous
Skip
Next
Question # 17
Conditional operator is alternative of:
Choose an answer
If
If-else
Nested if-else
None of these
Previous
Skip
Next
Question # 18
The body of while loop with multiple statements ends with:
Choose an answer
Right bracket ]
Right brace }
Comma ,
Semi colon ;
Previous
Skip
Next
Question # 19
A database containing all students in a class would store basic data of students in:
Choose an answer
Record
Field
Cell
File
Previous
Skip
Next
Question # 20
Which component of physical database design refers to the consistency of data?
Choose an answer
Indexes
Integrity constaint
File organization
Data distribution strategy
Previous
Skip
Next
Question # 21
To be in 2NF every non key attribute must depend on
Choose an answer
Key
All parts of the key
Composite key
Both a and b
Previous
Skip
Next
Question # 22
The extension of object file is:
Choose an answer
.c
.txt
.obj
.h
Previous
Skip
Next
Back