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
The keyword used to come out of the body of loop is
Choose an answer
Exit
Continue
Break
Ebd
Previous
Skip
Next
Question # 2
Switch statement is an alternative of:
Choose an answer
if
if-else
Nested if
Nested if-else
Previous
Skip
Next
Question # 3
In ERD model, the relationship between two entities is represented by a
Choose an answer
diamond symbol
rectangular box
oval symbol
line
Previous
Skip
Next
Question # 4
The scope of a variable refers to its:
Choose an answer
Length
Name
Accessibility
Data type
Previous
Skip
Next
Question # 5
---------------- are written before the main () function
Choose an answer
C statements
preprocessor directives
linking instructions
both a and b
Previous
Skip
Next
Question # 6
A database consists of various components called the
Choose an answer
tool
properties
entities
object
Previous
Skip
Next
Question # 7
______is a functional dependency in a relation between two or more non-key attributes
Choose an answer
Transitive dependency
Partial dependency
Repeating groups
None of these
Previous
Skip
Next
Question # 8
This means to increase a value by one:
Choose an answer
Modulus
Increment
Decrement
Inc
Previous
Skip
Next
Question # 9
The table in which is found is called Dependent Table.
Choose an answer
Foreign Key
Control key
Primary key
Sort Key
Previous
Skip
Next
Question # 10
Which of the following activities are involved in data analysis?
Choose an answer
Data flow diagram
Decision Tables
Decision Trees
All
Previous
Skip
Next
Question # 11
Preprocessor directives are command for:
Choose an answer
Microprocessor
Language processor
C Preprocessor
Loader
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
on to one relationship
Previous
Skip
Next
Question # 13
Which of the following menus is used to switch between table views?
Choose an answer
Edit
File
Tools
View
Previous
Skip
Next
Question # 14
Which of the following format specifiers is used for string?
Choose an answer
%s
%c
%d
%f
Previous
Skip
Next
Question # 15
The loop statements in a language are
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 16
One execution of a loop is known as a(n):
Choose an answer
Cycle
Duration
Iteration
Test
Previous
Skip
Next
Question # 17
Every relation should have :
Choose an answer
Primary key
Candidate key
Secondary key
Mutually exclusiveness
Previous
Skip
Next
Question # 18
Which of the following is logical data type in MS Access?
Choose an answer
Boolean
Yes/No
True/false
Log
Previous
Skip
Next
Back