1 |
Which of the following is a compiler directive? |
#include<stdio.h>
Using namespace std;
main()
All
|
2 |
Header file in C contain: |
Compiler commands
Library functions
Header information of C programs
Operations for files
|
3 |
The expression in define directive: |
Can only be changed at the end of the program
Cannot be changed but can be redefined
Cannot be assigned a value
Cannot be changed
|
4 |
Preprocessor directives are command for: |
Microprocessor
Language processor
C Preprocessor
Loader
|
5 |
The basic structure of C program consists of: |
Preprocessor Directive
Main () function
Program body
All
|
6 |
Compiled programs typically execute faster because: |
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
|
7 |
The ".exe" file is produced by: |
Linker
Loader
Compiler
Interpreter
|
8 |
The processing of running an executable file is known as: |
Debugging
Compiling
Executing
Saving
|
9 |
The process of linking library files with object code is known as: |
Compiling
Executing
Linking
Saving
|
10 |
Which of the following key is used to to load a program in memory to run? |
ALT+F9
CTRL+F9
CTRL+S
ALT+F5
|
11 |
The output of a compiler is called: |
Library code
Source code
Linked code
Object code
|
12 |
Which of the following key is used to compile a program: |
ALT+F9
CTRL+F9
CTRL+S
ALT+F5
|
13 |
Which file contains the program after translation into machine language? |
Object file
Exe file
Source file
None
|
14 |
The extension of object file is: |
.c
.txt
.obj
.h
|
15 |
The process of changing of source code into object code is celled: |
Compiling
Executing
Linking
Saving
|
16 |
The extension of C source program is: |
.h
.c
obj
.exe
|
17 |
Which of the following key is used to save a file? |
F2
<font color="#222222" face="arial, sans-serif" size="2">F3</font>
F5
<font color="#222222" face="arial, sans-serif" size="2">F9</font>
|