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 Chapter 3 Online Test MCQs With Answers
Question # 1
A \t is used for:
Choose an answer
New line
Tab
Back space
None of these
Previous
Skip
Next
Question # 2
Escape sequence starts with the character
Choose an answer
%
/
#
none
Previous
Skip
Next
Question # 3
The output of the statement print ("%2f', 11.4519), is
Choose an answer
11.4519
11.45
11.51
11
Previous
Skip
Next
Question # 4
Which of the following keys us not unique:
Choose an answer
Candidate key
Forein key
Primary key
Secondary key
Previous
Skip
Next
Question # 5
Getch stands for:
Choose an answer
Go character
Give character
Get character
All of these
Previous
Skip
Next
Question # 6
Types of translators are:
Choose an answer
Compiler
Interpreter
Assembler
All of these
Previous
Skip
Next
Question # 7
Data type int contain bytes:
Choose an answer
10
4
2
1
Previous
Skip
Next
Question # 8
An attribute is also known as:
Choose an answer
Table
Field
Row
Relation
Previous
Skip
Next
Question # 9
Which of the following escape sequence is used for beep
Choose an answer
/a
/b
/t
/n
Previous
Skip
Next
Question # 10
An disadvantage of partitioning is:
Choose an answer
Complexity
Extra space and update time
Inconsistent access speed
All
Previous
Skip
Next
Question # 11
Conditional operator is alternative of:
Choose an answer
If
If-else
Nested if-else
None of these
Previous
Skip
Next
Question # 12
In a loop semicolon is placed at the end of condition:
Choose an answer
While
For
Do-while
None of these
Previous
Skip
Next
Question # 13
Which of the following are ingredients of data modeling?
Choose an answer
Entities
Attributes
Relationship
All
Previous
Skip
Next
Question # 14
Which is used to display yes/no values:
Choose an answer
Check box
Option buttons
Both a & b
None of these
Previous
Skip
Next
Question # 15
Every relation must have:
Choose an answer
Primary key
Candidate key
Secondary key
All of these
Previous
Skip
Next
Question # 16
The number of variables that can be used in printf ( ) function are
Choose an answer
one
many
three
zero
Previous
Skip
Next
Question # 17
Which of the following is NOT included in the definition of an entity?
Choose an answer
Person
Object
Concept
Action
Previous
Skip
Next
Question # 18
Which key does not have uniqueness property?
Choose an answer
Candidate
Foreign key
Primary key
Secondary key
Previous
Skip
Next
Back