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 variable should be used to store the value "I want an A in this exam".
Choose an answer
char
int
float
character
Previous
Skip
Next
Question # 2
Another way to write the value 3452211903 is:
Choose an answer
3.452211903e09
3.45221193e-09
3.452211903
×09
3452211903e09
Previous
Skip
Next
Question # 3
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 # 4
The attribute on the left hand of the arrow in a functional dependency is:
Choose an answer
Candidate Key
Determinant
Foreign Key
Primary Key
Previous
Skip
Next
Question # 5
A table most has
Choose an answer
primary key
secondary key
composite key
sort key
Previous
Skip
Next
Question # 6
A _____ contains an object that stores VBA code
Choose an answer
Macro
Module
Forms
Reports
Previous
Skip
Next
Question # 7
What is the function of a Form in MS Access?
Choose an answer
View one record at a time
Add new data
Change existing data
All
Previous
Skip
Next
Question # 8
Which of the following statement is correct?
Choose an answer
float num1;num2;
int day,night;
int continue=5.0;
string black='white';
Previous
Skip
Next
Question # 9
Which of the following work with files
Choose an answer
fsanf()
fprintf()
printf()
Both a and b
Previous
Skip
Next
Question # 10
C was designed to write program for:
Choose an answer
Windows operating system
Solaris Operating system
Unix Operating system
OS/2 Operating system
Previous
Skip
Next
Question # 11
Which of the following is true about a function call
Choose an answer
Stop the execution of the program
Transfer control to the called function
Transfer control to the main function
Resumes the execution of the program
Previous
Skip
Next
Question # 12
A subform can be created using:
Choose an answer
Drag and drop method
The form Wizard
Subform wizard
All
Previous
Skip
Next
Question # 13
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 # 14
Forms are designed to:
Choose an answer
Input data
Manipulate data
Accept change
All
Previous
Skip
Next
Question # 15
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 # 16
A technique for physically arranging the records of a file on secondary storage devices is called:
Choose an answer
Physical pointer
Retrieval program
File organization
Update program
Previous
Skip
Next
Question # 17
Which of the following loop is available in C language?
Choose an answer
While
Do-while
For
All
Previous
Skip
Next
Question # 18
Conditional operator takes:
Choose an answer
Three operands
Two operands
One operands
Many operands
Previous
Skip
Next
Back