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 8 Online Test MCQs With Answers
Question # 1
stdio.h is part of:
Choose an answer
Comment section
C standard library
Compiler
Main function
Previous
Skip
Next
Question # 2
The extension of C source program is:
Choose an answer
.h
.c
obj
.exe
Previous
Skip
Next
Question # 3
A collection of data that include name address phone number etc of a person
Choose an answer
Byte
Record
Character
Field
Previous
Skip
Next
Question # 4
The basic structure of C program consists of:
Choose an answer
Preprocessor Directive
Main () function
Program body
All
Previous
Skip
Next
Question # 5
Which of the following is a compiler directive?
Choose an answer
#include<stdio.h>
Using namespace std;
main()
All
Previous
Skip
Next
Question # 6
Errors in a computer program are also called ________
Choose an answer
Mistakes
Bugs
Syntax
Wrongs
Previous
Skip
Next
Question # 7
The ______ errors in a program are most difficult to locate and remove
Choose an answer
Logical
Syntax
Grammatical
Spelling
Previous
Skip
Next
Question # 8
Compiled programs typically execute faster because:
Choose an answer
Compiled programs are read and executed a line at a time
Compiled programs are already in a machine-readable form.
Compiled programs do not require any data
None of these
Previous
Skip
Next
Question # 9
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 # 10
The machine language instructions are written in ______
Choose an answer
Keyboard
Binary code
C
None of them
Previous
Skip
Next
Question # 11
A IDE typically consists of:
Choose an answer
Text editor
Compiler
Debugger
All
Previous
Skip
Next
Back