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
Computer Science Ics Part 2 Online Test MCQs With Answers
Question # 1
A constraint that no primary key should contain nulls is known as:
Choose an answer
Normalization
Dependence
Entity integrity
SQL query
Previous
Skip
Next
Question # 2
On successfully closing a file the f close () returns
Choose an answer
Null
0
1
File pointer
Previous
Skip
Next
Question # 3
A constraint between two attributes is called:
Choose an answer
Functional relation
Attribute dependency
Functional dependency
Functional relation constaint
Previous
Skip
Next
Question # 4
Which statement is true about data types?
Choose an answer
Data type has no memory requirements
Each data type has different memory requirements
Each data type has same memory requirements
None of the above
Previous
Skip
Next
Question # 5
stdio.h is part of:
Choose an answer
Comment section
C standard library
Compiler
Main function
Previous
Skip
Next
Question # 6
Views are also called:
Choose an answer
Complex tables
Simple tables
Virtual tables
Actual tables
Previous
Skip
Next
Question # 7
Which of the following is used to display yes/no values?
Choose an answer
Checkbox
Option button
Both a and b
None of these
Previous
Skip
Next
Question # 8
One execution of a loop is known as a(n):
Choose an answer
Cycle
Duration
Iteration
Test
Previous
Skip
Next
Question # 9
Field properties determine:
Choose an answer
Field size
Input mask
Default value
All
Previous
Skip
Next
Question # 10
A relation is in third normal form if it is in second normal form and:
Choose an answer
Dependent on part of the key
Dependent on the whole key
Independent of the key
Has no transitive dependencies
Previous
Skip
Next
Question # 11
The keyword 'break' cannot be used within:
Choose an answer
Do-while
If-else
For
While
Previous
Skip
Next
Question # 12
Which of the following function is used to read a string from a file
Choose an answer
puts()
Pute()
fputs()
fgets()
Previous
Skip
Next
Question # 13
Which of the following is basic data distribution strategy?
Choose an answer
Centralized
Partitioned
Replication
All
Previous
Skip
Next
Question # 14
Which of the following is not a valid variable name ?
Choose an answer
Roll No
Roll No
Roll-No
Roll #
Previous
Skip
Next
Question # 15
From the following statement which is the control statement
Choose an answer
If
Else if
Switch
All of the above
Previous
Skip
Next
Question # 16
Which of the following type of file require largest processing time?
Choose an answer
Sequential file
Random file
Indexed sequential file
Direct access file
Previous
Skip
Next
Question # 17
Format specifier is started with symbol:
Choose an answer
?
%
&
*
Previous
Skip
Next
Question # 18
Conditional operator is also called:
Choose an answer
True operator
Ternary-operator
Truth operator
All of these
Previous
Skip
Next
Back