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
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 # 2
This statement causes a loop to terminate early?
Choose an answer
Break
Terminate
Exit
A and B
Previous
Skip
Next
Question # 3
A computer program written in a high-level language is called
Choose an answer
object code
re locateable code
source code
none of them
Previous
Skip
Next
Question # 4
Which of the following is a compiler directive?
Choose an answer
#include<stdio.h>
Using namespace std;
main()
All
Previous
Skip
Next
Question # 5
the integer, long and short data types are known as:
Choose an answer
Integer data types
Non-integral data types
float data types
Non-numeric data types
Previous
Skip
Next
Question # 6
Relational operators allow you to _____________ numbers.
Choose an answer
Compare
Add
Multiply
Divide
Previous
Skip
Next
Question # 7
C is ------------------ level language
Choose an answer
high
medium
low
a and b
Previous
Skip
Next
Question # 8
A request for information from a database in database terminology is called
Choose an answer
Report
Letter
Table
Query
Previous
Skip
Next
Question # 9
A collection of raw facts and figures is called:
Choose an answer
Data
Information
Processing
Knowledge
Previous
Skip
Next
Question # 10
Microsoft access saves the database with the extension:
Choose an answer
.mdb
.msdb
.madb
.mxls
Previous
Skip
Next
Question # 11
____________ is used to specify two different choices with "if" statement.
Choose an answer
Switch
Else
If
If-else
Previous
Skip
Next
Question # 12
A memory location with some data that cannot be changed is called:
Choose an answer
Constant
Variable
Keyword
Address
Previous
Skip
Next
Question # 13
The keyword used to come out of the body of loop is
Choose an answer
Exit
Continue
Break
Ebd
Previous
Skip
Next
Question # 14
The loop structure in which condition comes after the body of the loop is
Choose an answer
While
Do-while
For
All
Previous
Skip
Next
Question # 15
The forein key is found in:
Choose an answer
Parent table
Dependent table
Pivot table
Index table
Previous
Skip
Next
Question # 16
The number of characters in fixed-length field is:
Choose an answer
Constant
Variable
10
100
Previous
Skip
Next
Question # 17
Find and Replace command is found in:
Choose an answer
Edit menu
File menu
Tool
View menu
Previous
Skip
Next
Question # 18
The basic structure of C program consists of:
Choose an answer
Preprocessor Directive
Main () function
Program body
All
Previous
Skip
Next
Back