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
Which header file contains information about standard input/output function?
Choose an answer
stdio.h
math.h
Both A and B
None
Previous
Skip
Next
Question # 2
The extension of the header file is:
Choose an answer
.CPP
txt
.c
.h
Previous
Skip
Next
Question # 3
Which of the following symbol is used to denote a pre-processor statement?
Choose an answer
%
$
#
@
Previous
Skip
Next
Question # 4
An IDE stands for:
Choose an answer
Input data error
Input Desktop environment
Integrated Development Environment
Internal Disk error
Previous
Skip
Next
Question # 5
Who developed C?
Choose an answer
Von-Meumann
Al-Khuwarizmi
Charles Babbage
Dennis Ritchie
Previous
Skip
Next
Question # 6
The output of a compiler is called:
Choose an answer
Library code
Source code
Linked code
Object code
Previous
Skip
Next
Question # 7
Which of the following is a compiler directive?
Choose an answer
#include<stdio.h>
Using namespace std;
main()
All
Previous
Skip
Next
Question # 8
Which is the correct sequence of steps for creating and executing C program?
Choose an answer
Editing
→ saving
→ compiling
→ linking
→ Executing
Compiling
→
Editing
→ saving
→ Executing
→ linking
Editing
→ Executing
→ Compiling
→ Linking
Linking
→
Executing
→ saving
→ Editing
→ compiling
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
Which of the following key is used to compile a program:
Choose an answer
ALT+F9
CTRL+F9
CTRL+S
ALT+F5
Previous
Skip
Next
Question # 11
stdio.h is part of:
Choose an answer
Comment section
C standard library
Compiler
Main function
Previous
Skip
Next
Question # 12
The extension of C source program is:
Choose an answer
.h
.c
obj
.exe
Previous
Skip
Next
Question # 13
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 # 14
The ".exe" file is produced by:
Choose an answer
Linker
Loader
Compiler
Interpreter
Previous
Skip
Next
Question # 15
C is a:
Choose an answer
High Level language
Low-level language
Assembly language
Machine language
Previous
Skip
Next
Question # 16
Header file in C contain:
Choose an answer
Compiler commands
Library functions
Header information of C programs
Operations for files
Previous
Skip
Next
Back