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
Which of the following is the correct association?
Choose an answer
File = column
Record = row
Field = row
Record = table
Previous
Skip
Next
Question # 2
In which loop the condition comes after the body of the loop?
Choose an answer
While loop
Do-while loop
For loop
B and C
Previous
Skip
Next
Question # 3
The number of bytes used by float data type in C is:
Choose an answer
2
4
121
16
Previous
Skip
Next
Question # 4
Which of the following mode open only an existing file for both reading and writing
Choose an answer
"W"
"W+"
"r+"
"a+"
Previous
Skip
Next
Question # 5
A factor consider when choosing a file organization is
Choose an answer
Fast data retrieval
Security
Efficient storage
All of them
Previous
Skip
Next
Question # 6
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 # 7
The general form of format specifier for floating point value:
Choose an answer
%m.nf
m.n%
m%.nf
m.n%f
Previous
Skip
Next
Question # 8
A _____ contains an object that stores VBA code
Choose an answer
Macro
Module
Forms
Reports
Previous
Skip
Next
Question # 9
A row of relation is called
Choose an answer
attribute
entity
tuple
both a & c
Previous
Skip
Next
Question # 10
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 # 11
The ------------------- translates the source program into the machine code or object code
Choose an answer
compiler
assembler
interpreter
all of them
Previous
Skip
Next
Question # 12
An entity related to itself in an ERD model refers to :
Choose an answer
Recursive relationship
One-to-many relationship
Many-to-many relationship
One-to-one relationship
Previous
Skip
Next
Question # 13
Key is used in
Choose an answer
If statement
Else if statement
Switch statement
All of the above
Previous
Skip
Next
Question # 14
Which view can be used to enter or modify data in the underlying table?
Choose an answer
Form view
Table design view
Form design view
New Form view
Previous
Skip
Next
Question # 15
A primary key that consists of more than one attribute is called a
Choose an answer
Foreign key
Composite key
Multi-valued key
Global key
Previous
Skip
Next
Question # 16
In 3NT which form of dependency is removed ?
Choose an answer
functional
non-functional
associative
transitive
Previous
Skip
Next
Question # 17
The columns of a table correspond to:
Choose an answer
Table
Record
Field
Cell
Previous
Skip
Next
Question # 18
Which field type can be indexed?
Choose an answer
Memo
Number
Hyperlink
OLE
Previous
Skip
Next
Back