Kurukshetra a journal on rural development is published by
A
Ministry of Finance
B
Ministry of Information and Broadcastin
C
Ministry of Rural Development
D
Planning Commission
Question 3Single Answer
In ruby laser, the stimulated emission is due to transition from
A
metastable state to any lower state
B
any higher state of lower state
C
metastable state to ground state
D
any higher state to ground state
Question 4Single Answer
10-6 M NaOH is diluted 100 times. The pH of the diluted base is
A
between 7 and 8
B
between 5 and 6
C
between 6 and 7
D
between 10 and 11
Question 5Single Answer
Which is the national game of Bhutan ?
A
badminton
B
basketball
C
football
D
archery
Question 6Single Answer
When was the Constituent Assembly of India formed?
A
1946
B
1947
C
1948
D
1950
Question 7Single Answer
Which ministry launched the e-SHRAM portal to register unorganized workers in India?
A
Ministry of Labour and Employment
B
Ministry of Finance
C
Ministry of Social Justice and Empowerment
D
Ministry of Home Affairs
Question 8Single Answer
What is the primary objective of the ‘BioE3 Policy’ approved by the Union Cabinet?
A
Foster high-performance biomanufacturing
B
Promote traditional farming practices
C
Increase coal production
D
Enhance organic farming
Question 9Single Answer
Which state launched the ‘Indiramma Atmiya Bharosa Scheme’ in 2025?
A
Telangana
B
Andhra Pradesh
C
Karnataka
D
Tamil Nadu
Question 10Single Answer
How many individuals were announced to receive the Padma Awards in 2025 by the Government of India?
A
121
B
139
C
140
D
165
Pedagogy, Curriculum & Education Policy
Question 11Single Answer
A Controlling Officer includes -
A
An officer entrusted by the Department with the responsibility of controlling the incurring of expenditure and or the collection of revenue
B
A Head of Department
C
An Administrator of a Union Territory
D
All of the above
Question 12Single Answer
Who is Desk Officer ?
A
Assistants and Upper Division Clerks
B
A Section Officer may be designated as Desk Officer, who is to function as per powers delegated by the Ministries/Departments like signing financial sanctions, affirming affidavits in court etc
C
In-charge of a Section who has to ensure efficient and expeditious disposal of work, recording and weeding out, indexing and digitization.
D
All of them
Question 13Single Answer
The duties and responsibilities of a Controlling Officer in respect of funds placed at his disposal are to ensure that -
A
The expenditure does not exceed the budget allocation
B
The expenditure is incurred for the purpose for which funds have been provided
C
Adequate control mechanism is functioning in the department to prevent, detect errors and irregularities in the financial proceedings and to guard against waste and loss of public money
D
All of the above
Question 14Single Answer
Which of the following sanctions is not to be endorsed to the Audit Officer ?
A
Sanctions of routine nature issued by Heads of Subordinate Offices
B
Sanctions issued by Ministries / Departments proper and under powers of a Head of Department
C
Sanctions relating to grant of advances to Government employees
D
Sanctions relating to payment or withdrawal of GPF advance to Government employees
Question 15Single Answer
Any loss or shortage of public moneys, departmental revenue or receipts, stores or other property, held by or on behalf of Government shall be immediately reported to -
A
The next higher authority
B
The Statutory Audit Officer
C
The concerned Principal Accounts Officer
D
All of the above
Question 16Single Answer
What is Information and Facilitation Counter (IFC) ?
A
A functionary on duty outside office hours who performs the functions of the central receipt and issue section during such hours.
B
A Facilitation counter, to provide information/ assistance to the citizens/clients about the programmes, schemes, status of cases, applications, etc.
C
A collection of papers on a specific subject, assigned a number and consisting of one or more
D
None of them
Question 17Single Answer
Minute is a meeting recorded by ?
A
President
B
Vice President
C
Prime Minster
D
All of them
Question 18Single Answer
Who is authorised to renew Pension Payment Order without reference to the Accountant General -
A
Disbursing Officer
B
Head of the Office
C
Accounts Officers
D
Administrative Officer
Question 19Single Answer
The following three aspects of intelligence are dealt by Sternberg's triarchic theory except
A
componential
B
social
C
experiential
D
contextual
Question 20Single Answer
Howard Gardner's theory of multiple intelligences emphasizes
A
general intelligence
B
common abilities required in school
C
the unique abilities of each individual
D
conditioning skills in students
Question 21Single Answer
In order to avoid gender stereotyping in class, a teacher should
A
try to put both boys and girls in nontraditional roles.
B
appreciate students' good work by saying 'good girl' or 'good boy'.
C
discourage girls from taking part in wrestling.
D
encourage boys to take risk and be bold.
Question 22Single Answer
Schools should cater to Individual differences to
A
narrow the gap between individual students.
B
even out abilities and performance of students.
C
understand why students are able or unable to learn.
D
make individual students feel exclusive.
Question 23Single Answer
What kind of support can a school provide to address the individual differences in students ?
A
Follow a child-centered curriculum and provide multiple learning opportunities to students
B
Apply every possible measure to remove the individual differences in students
C
Refer slow learners to special schools
D
Follow same level of curriculum for all students
Question 24Single Answer
"Readiness for learning " refers to
A
general ability level of students
B
present cognitive level of students in the learning continuum
C
satisfying nature of the act of learning
D
Thorndike's Law of Readiness
Question 25Single Answer
Learning disabilities may occur due to all of the following except
A
Cerebral dysfunction
B
Emotional disturbance
C
Behavioural disturbance
D
Cultural factors
Question 26Single Answer
Which of the following is appropriate for environment conducive to thinking and learning in children ?
A
Passive listening for long periods of time
B
Home assignments given frequently
C
Individual tasks done by the learners
D
allowing students to take some decisions about what to learn and how to learn
Question 27Single Answer
The National Education Policy 2020 was announced by which government body ?
A
Ministry of Human Resource Development
B
University Grants Commission
C
National Council of Educational Research and Training
D
NITI Aayog
Question 28Single Answer
The National Education Policy 2020 aims to provide education to children of which age group ?
A
3-6 years
B
6-14 years
C
14-18 years
D
18-23 years
Question 29Single Answer
Which of the following is NOT a key feature of the National Education Policy 2020 ?
A
Introduction of a 5+3+3+4 curricular structure
B
Emphasis on early childhood care and education
C
Focus on vocational training in schools
D
Promotion of multilingualism and language learning
Question 30Single Answer
The National Education Policy 2020 proposes the establishment of a National Research Foundation to promote research in which sector ?
A
Science and Technology
B
Social Sciences
C
Humanities
D
All of the above
Computer Science
Question 31Single Answer
The 0 and 1 in the binary numbering system are called Binary Digits or
A
Bytes
B
Kilobytes
C
Decimal bytes
D
Bits
Question 32Single Answer
What language does a browser typically interpret to display information from the World Wide Web ?
A
Machine Code
B
Assembly Language
C
HTML
D
C++
Question 33Single Answer
______ is the process of finding errors in software code.
A
Compiling
B
Testing
C
Running
D
Debugging
Question 34Single Answer
The code for a Web page is written using _________.
A
A fifth generation language
B
WinZip
C
Peripherals
D
Hypertext Markup Language
Question 35Single Answer
A program is a sequence of ___________ written in a programming language.
A
Lines
B
Function
C
Instructions
D
Code words
Question 36Single Answer
Which of the following languages is more suited to a structured program ?
A
PL/1
B
FORTRAN
C
BASIC
D
PASCAL
Question 37Single Answer
A computer program that converts assembly language to machine language to machine language is
A
compiler
B
Interpreter
C
Assembler
D
None of the above
Question 38Single Answer
The symbols used in an assembly language are
A
Codes
B
Mnemonics
C
Assembler
D
All of the above
Question 39Single Answer
Which is a non-standard version of a computing language ?
A
PROLOG
B
APL
C
Army
D
PL/1
Question 40Single Answer
A language which is close to that used with in the computer is
A
High – level language
B
Assembly language
C
Low- level language
D
All of the above
Question 41Single Answer
Program execution time would be minimum if the programs are written in
A
Machine Language
B
Assembly language
C
High level language
D
All of the above
Question 42Single Answer
Which one of the following is not a type of a language processor ?
A
Compiler
B
Interpreter
C
Application software
D
Assembler
Question 43Single Answer
Which one of the following is called low level languages ?
A
Machine language
B
Assembly language
C
both of the above
D
None of the above
Question 44Single Answer
Which is the limitation of high level language ?
A
Lower efficiency
B
Machine dependence
C
Machine level coding
D
None of above
Question 45Single Answer
Programming language which is used for scientific purposes and work is to be done in batches is
A
PASCAL
B
FORTRAN
C
LOGO
D
COMAL
Question 46Single Answer
Programming language which is extension of programming language 'BASIC' is
A
PASCAL
B
COBOL
C
LOGO
D
COMAL
Question 47Single Answer
Program subroutines are
A
called by other programs
B
fixed variable
C
default constants
D
default variables
Question 48Single Answer
Loop statement which is repeated to some given number of times is classified as
A
FOR loop
B
GO loop
C
REPEAT loop
D
GO REPEAT loop
Question 49Single Answer
A program which interprets each line of high level program at time of execution is called
A
instructor
B
interpreter
C
translator
D
executor
Question 50Single Answer
Set of data whose items are organized together is classified as
A
data structure
B
variable structure
C
string structure
D
positive structure
Important Questions Package
AWES PGT TGT Computer Science Exam Online Question Bank Package
Buy AWES PGT TGT Computer Science Important Questions, MCQ, question answer in Hindi & English. It will help you to score high marks in AWES PGT TGT Computer Science question bank 2026 in Online, PDF & Print study material.
+ Free Monthly Current Affairs, GK & more PDF Download
Sr.
Package Name
Amount
1.
AWES PGT TGT Computer Science Exam - Hindi
Description : 1000 Question with Answer.
₹51[₹500]
2.
AWES PGT TGT Computer Science Exam - Hindi
Description : 1500 Question with Answer.
₹55[₹500]
3.
AWES PGT TGT Computer Science Exam - Hindi
Description : 2000 Question with Answer.
₹151[₹500]
4.
AWES PGT TGT Computer Science Exam - Hindi
Description : 3000 Question with Answer.
₹181[₹500]
5.
AWES PGT TGT Computer Science Exam - Hindi
Description : 4000 Question with Answer.
₹201[₹500]
6.
AWES PGT TGT Computer Science Exam - English
Description : 1000 Question with Answer.
₹51[₹500]
7.
AWES PGT TGT Computer Science Exam - English
Description : 1500 Question with Answer.
₹55[₹500]
8.
AWES PGT TGT Computer Science Exam - English
Description : 2000 Question with Answer.
₹151[₹500]
9.
AWES PGT TGT Computer Science Exam - English
Description : 3000 Question with Answer.
₹201[₹500]
10.
AWES PGT TGT Computer Science Exam - English
Description : 4000 Question with Answer.
₹201[₹500]
11.
AWES PGT TGT Computer Science Exam - Hindi
Description : 1000 Question & Answer Download in PDF (Send by Email)
₹151[₹450]
12.
AWES PGT TGT Computer Science Exam - English
Description : 1000 Question & Answer Download in PDF (Send by Email)
₹151[₹450]
13.
AWES PGT TGT Computer Science Exam Question Bank Book - Hindi
Description : 1000 Question with Answer (Printed Material)
₹450[₹800]
14.
AWES PGT TGT Computer Science Exam Question Bank Book - English
Description : 1000 Question with Answer (Printed Material)
₹390[₹600]
15.
AWES PGT TGT Computer Science Exam - English (Old)
Description : 2000 Question with Answer.
₹151[₹500]
16.
AWES PGT TGT Computer Science Part II Exam - English (Old)
Description : 760 Question With Answer
₹100[₹500]
Computer Science
Question 51Single Answer
______ is a container that represents a value in a program .
A
Compiler
B
Variable
C
Data type
D
None of the above
Question 52Single Answer
To distinguish between different data types, a computer uses special ______ .
A
Internal codes
B
External codes
C
compilers
D
None of the above
Question 53Single Answer
_______ is the same thing as a variable with one major difference. Its does not change, while the value of a variable can change throughout a program .
A
fixed-Variable
B
Conditional
C
Constant
D
None of the above
Question 54Single Answer
Array is a special type of variable used in many programming languages, such as ________
A
C
B
C++
C
Java
D
All of the above
Question 55Single Answer
What is a segment of code that executes repeatedly based on a certain condition ?
A
Function
B
Array
C
Loop
D
None of the above
Question 56Single Answer
What is defined as a set of code used to carry out specific tasks ?
A
Function
B
Class
C
Loop
D
None of the above
Question 57Single Answer
What is used for a real world object that is to be used in a program ?
A
Program
B
Template
C
Car Class
D
None of the above
Question 58Single Answer
_______ is object oriented programming language that uses virtual functions, multiple inheritance, exception handling, polymorphism, etc .
A
C++
B
C
C
GUI
D
None of the above
Question 59Single Answer
C++ provides comprehensive coverage of abstract classes, such as ______ .
A
Interfaces
B
Regular error handling, standard strings
C
I/O strings
D
All of the above
Question 60Single Answer
A linked list a linear collection of similar data elements called ______ .
A
Subscript
B
Index
C
Nodes
D
Null
Question 61Single Answer
______ was the first high-level language developed by john Backus at IBM in 1956
A
FORTRAN
B
COBOL
C
BASIC
D
NONE OF THE ABOVE
Question 62Single Answer
This language was developed by Dennis Ritchie of Bell Laboratories in order to implement the operating system UNIX .
A
C
B
C++
C
Java
D
LISP
Question 63Single Answer
C is known as
A
low level programming language
B
High level programming language
C
Machine language
D
None of the above
Question 64Single Answer
Which of the following is language processor ?
A
Interpreter
B
Assembler
C
Compiler
D
All of the above
Question 65Single Answer
________ converts an assembly language program into machine language .
A
Assembler
B
Compiler
C
Interpreter
D
All of the above
Question 66Single Answer
Which of the following language processors converts a high-level language program line by line into a machine language ?
A
Assembler
B
Interpreter
C
Compiler
D
None of the above
Question 67Single Answer
Errors in a computer program are referred to as
A
Bugs
B
Mistakes
C
Item overlooked
D
Crash
Question 68Single Answer
Computer programs are written in a high level programming language; however, the human-readable version of a program is called ________ .
A
cache
B
Instruction set
C
source code
D
word size
Question 69Single Answer
Which of the following is not a programming language ?
A
Pascal
B
Microsoft Office
C
Java
D
C++
Question 70Single Answer
What is correcting errors in a program called ?
A
Compiling
B
Debugging
C
Grinding
D
Interpreting
Question 71Single Answer
Which one of the following is not a computer language ?
A
Java
B
COBOL
C
ASP
D
LOTUS
Question 72Single Answer
Which of the following is not a computer language ?
A
PASCAL
B
UNIX
C
FORTRAN
D
COBOL
Question 73Single Answer
A series of instructions that tells a computer what to do and how to do. It is called a __________
A
program
B
command
C
user response
D
processor
Question 74Single Answer
A set of step-by-setp procedures for accomplishing a task is known as a (n) ________ .
A
algorithm
B
hardware program
C
software bug
D
firmware program
Question 75Single Answer
All of the following are included in typical Computer programming language which are in use currently Except
A
C++
B
Java
C
visual Basic NET
D
Machine language
Question 76Single Answer
Query language comes under:
A
Third generation
B
Fourth generation
C
Fifth generation
D
None of these
Question 77Single Answer
Errors in computer programs are called
A
Follies
B
Mistakes
C
Bugs
D
Spam
Question 78Single Answer
The default file extension of MS-Excel is
A
xlr
B
exe
C
exl
D
xls
Question 79Single Answer
High Level programming language can be converted to machine language using which of the following ?
A
Oracle
B
Compiler
C
Mat lab
D
Assembler
Question 80Single Answer
Which programming language are classified as low level languages ?
A
BASIC, COBOL, FORTRAN
B
Prolog
C
C, C ++
D
Assembly languages
Question 81Single Answer
FORTRAN is
A
File Translation
B
Format Translation
C
Formula Translation
D
Floppy Translation
Question 82Single Answer
Who invented the high level language "C" ?
A
Dennis M. Ritchie
B
Niklaus Writh
C
Seymour Papert
D
Donald Kunth
Question 83Single Answer
_____ is an OOP principle .
A
Structured programming
B
Procedural programming
C
Inheritance
D
Linking
Question 84Single Answer
COBOL is widely used in ________ applications .
A
Commercial
B
Scientific
C
Space
D
Mathematical
Question 85Single Answer
Father of "C" programming language
A
Dennis Ritchie
B
Prof John Keenly
C
Thomas Kurtz
D
Bill Gates
Question 86Single Answer
The instructions that tell a computer how to carry out the processing tasks are referred
A
programs
B
processors
C
input devices
D
memory moduless
Question 87Single Answer
Which one of the following is NOT a computer language ?
A
MS- Excel
B
BASIC
C
COBOL
D
C++
Question 88Single Answer
COBOL is an acronym for _______
A
Common Business Oriented Language
B
Computer Business Oriented Language
C
Common Business Operated Language
D
Common Business Organized Language
Question 89Single Answer
Which of the following is not a binary number ?
A
1
B
101
C
202
D
110
Question 90Single Answer
When creating a computer program, the ______designs the structure of the program .
A
End user
B
System Analyst
C
Programmer
D
All of the above
Question 91Single Answer
Binary numbers need more places for counting because
A
They are always big number
B
Any no of 0's can be added in front of them
C
Binary base is small
D
0's and I's have to be properly spaced apart
Question 92Single Answer
The 2's complement of a binary no. is obtained by adding _________ to its 1's complment .
A
zero
B
1
C
10
D
12
Question 93Single Answer
A systems programming language for microcomputers in the intel family is
A
PL/C
B
PL/CT
C
PL/M
D
PLA
Question 94Single Answer
Which is a machine-oriented high-level language for the GEC 4080 series machines .
A
LOGO
B
SNOBOL
C
Babbage
D
ALGOL
Question 95Single Answer
Data division is the third division of a_______program .
A
COBOL
B
BASIC
C
PASCAL
D
FORTH
Question 96Single Answer
Which language was devised by Dr. Seymour Aubrey Papert ?
A
APL
B
COBOL
C
LOGO
D
FORTRAN
Question 97Single Answer
Which of the following is intended to be used in all applications runs on mainframe computers .
A
LOGO
B
APL
C
PL/1
D
OCCAM
Question 98Single Answer
Which is another name for functional language ?
A
Machine
B
Application language
C
Low-Level language
D
High – level language
Question 99Single Answer
A notation used to express clearly on algorithm is known as
A
Algorithmic language
B
Assembly language
C
Machine language
D
High level language
Question 100Single Answer
Which programming language is based on Algol60.
A
PILOT
B
SNOBOL
C
ADA
D
SIMULA
Question 101Single Answer
Symbolic languages were developed in
A
1962
B
1950
C
1974
D
1980
Question 102Single Answer
The language that is an input for statement translation is called .
A
Assembly language
B
Source language
C
High-level language
D
Object language
Question 103Single Answer
Who is the creator of the PASCAL language ?
A
Niklaus Wirth
B
Dijkstra
C
Donald Knuth
D
Basic Pascal
Question 104Single Answer
Computer instructions written with the use of English words instead of binary machine code is called
A
Mnemonics
B
Symbolic code
C
Gray code
D
OP - code
Question 105Single Answer
The following is true about 2 out of 5 code
A
It is weighted code
B
it is unweighted code
C
it has odd parity
D
All of the above
Question 106Single Answer
Each model of a computer has a unique
A
Assembly language
B
Machine language
C
High level langauge
D
All of the above
Question 107Single Answer
The process of writing computer instructions in a programming language is known as
A
Coding
B
Processing
C
Progamming
D
File
Question 108Single Answer
The computer program language which is widely used in computer science and engineering and also in business is
A
COBOL
B
FORTRAN
C
PASCAL
D
LISP
Question 109Single Answer
Group of instructions that directs a computer is called
A
Storage
B
Memory
C
Logic
D
Program
Question 110Single Answer
A code which uses more bits for each character then what is necessary is known as
A
Hollerith code
B
Gray code
C
Redundant code
D
Mnemonics
Question 111Single Answer
A device which converts human readable data into machine language is
A
Card reader
B
Card punch
C
Punched paper tape
D
Character reader
Question 112Single Answer
The most popular language for interactive use is
A
COBOL
B
PASCAL
C
BASIC
D
FORTRAN
Question 113Single Answer
In which of the following, each data item contains at most 2 points
A
List Structure
B
LISP
C
List sorting
D
List head
Question 114Single Answer
A step-by-step procedure used to solve a problem is called
A
Operating system
B
Algorithm
C
Application program
D
All of the above
Question 115Single Answer
Which of the following is a special purpose language used to describe to a computer's operating system .
A
LOGO
B
APL
C
ICL
D
CORAL
Question 116Single Answer
Which of the following language is the most widely used ?
A
PL/1
B
BASIC
C
FORTRAN
D
PASCAL
Question 117Single Answer
Which language was created by Charles H. Moore at National Radio Astronomy Observatory .
A
BASIC
B
FORTH
C
dBASE
D
COBOL
Question 118Single Answer
Which of the following language is often translated in pseudo code ?
A
Assembly
B
FORTRAN
C
PASCAL
D
BASIC
Question 119Single Answer
Programmed instructions to the computer is known as
A
Data
B
Code
C
Documentation
D
Database
Question 120Single Answer
Programs prepared by an outside supplier & privided to a user in a machine readable form is knwon as
A
Utility program
B
Canned program
C
Application program
D
Application software
Question 121Single Answer
Dennis was Author of Famous Programming Book ________ .
A
C programming and Techniques
B
Thinking in C
C
The C programming Language
D
Learn C step By Step
Question 122Single Answer
C Programing was created at ________ at Dennis Ritchie .
A
Stanford Lab
B
Haward University
C
AT & T Bell Laboratory
D
L&T Laboratory
Question 123Single Answer
C Programming was created in year ______ .
A
1976
B
1972
C
1967
D
1980
Question 124Single Answer
Many features of C were derived from an earlier language called _____ .
A
B
B
PASCAL
C
BASIC
D
FORTRAN
Question 125Single Answer
Which Committe standardize C Programming Language ?
A
ANSI
B
W3C
C
TRAI
D
ISO
Question 126Single Answer
Ritchie and Brian Kernighan jointly carried out the development of C and that version is _________ .
A
K&R C
B
ANSI C
C
C99
D
R&KC
Question 127Single Answer
Who was Creator of B Language, which inspired Dennis Ritchie to create Strong Procedural Language called C ?
A
Ken Thompson
B
Thomas E. Kurtz
C
John W. Backus
D
Brian Kernighan
Question 128Single Answer
Dennis Ritchie Born On _____ ?
A
September 9, 1941
B
September 9, 1958
C
September 9, 1951
D
September 9, 1947
Question 129Single Answer
Who is called as Father of C Programming Language ?
A
Steve Jobs
B
Dennis Ritchie
C
Ken Thompson
D
Bill Gates
Question 130Single Answer
By Nationality, Dennis Ritchie Was _____ ?
A
British
B
Russian
C
Canadian
D
American
Question 131Single Answer
Dennis Ritchie Completed his graduation from _______ University ?
A
MIT University
B
Stanford University
C
Harvard University
D
Cembridge University
Question 132Single Answer
What is full Name of Dennis Ritchie ?
A
Dennis George Ritchie
B
Dennis Stephen Ritchie
C
Dennis Bill Ritchie
D
Dennis MacAlistair Ritchie
Question 133Single Answer
Dennis Ritchie Was Creator of Famous Programming Language
A
BCPL
B
C++ Programming
C
C Programming
D
BASIC
Question 134Single Answer
Following Operating System was Created By Dennis Ritchie
Determine Output:
void main ( )
{
printf ("%p", main );
}
A
Error
B
make an infinite loop
C
Some address will be printed
D
None of these
Question 138Single Answer
Determine Output:
void main ( )
{
char not;
not = 12;
printf("%d", not);
}
A
2
B
Garbage Value
C
0
D
None of these
Question 139Single Answer
Determine Output:
void main ( )
{
int i = i++, j=j++, k = k++;
printf(“%d %d %d", i , j, k);
}
A
1 1 1
B
0 0 0
C
garbage values
D
Error
Question 140Single Answer
Who is father of C Language ?
A
Bjarne Stroustrup
B
James A. Gosling
C
Dennis Ritchie
D
Dr. E.F. Codd
Question 141Single Answer
C Language developed at ________ ?
A
AT & T's Bell Laboratories of USA in 1972
B
AT & T's Bell Laboratories of USA in 1970
C
Sun Microsystems in 1973
D
Cambridge University in 1972
Question 142Single Answer
For 16-bit compiler allowable range for integer constants is ______?
A
-3.4e38 to 3.4e38
B
-32767 to 32768
C
-32668 to 32667
D
-32768 to 32767
Question 143Single Answer
C programs are converted into machine language with the help of
A
An Editor
B
A compiler
C
An operating system
D
None of these
Question 144Single Answer
C was primarily developed as
A
System programming language
B
General purpose language
C
Data processing language
D
None of the above
Question 145Single Answer
Standard ANSIC recognizes ______ number of keywords ?
A
30
B
32
C
24
D
36
Question 146Single Answer
Which one of the following is not a reserved keyword for C ?
A
auto
B
case
C
main
D
default
Question 147Single Answer
A C variable cannot start with
A
A number
B
A special symbol other thatn underscore
C
Both of the above
D
An alphabet
Question 148Single Answer
Which one of the following is not a valid identifier ?
A
_compscibits
B
1compscibits
C
comp_scibits
D
compscibits 1
Question 149Single Answer
If integer needs two bytes of storage, then maximum value of an unsigned integer is
A
2^16 - 1
B
2^15 – 1
C
2^ 16
D
2^15
Question 150Single Answer
What is the correct value to return to the operating system upon the successful completion of a program ?
A
1
B
-1
C
zero
D
Program do not return a value
Question 151Single Answer
Which is the only function all C programs must contain ?
A
start()
B
system ( )
C
main ( )
D
printf ( )
Question 152Single Answer
Which of the following is not a correct variable type ?
A
float
B
real
C
int
D
double
Question 153Single Answer
What number would be shown on the screen after the following statements of C are executed ?
char ch;
int i;
ch = 'G';
i = ch- 'A';
printf("%d",i);
A
5
B
6
C
7
D
8
Question 154Single Answer
Which of following is not a valid name for a C variable ?
A
Computerscibits
B
computer_scibits
C
computer scibits
D
Both A and B
Question 155Single Answer
Find the output of the following program.
void main ( ) {int i = 01289; printf("%d", i); }
A
0289
B
1289
C
0713
D
Syntax error
Question 156Single Answer
If ASCII Value of 'x' is 120, then what is the value of
the H, if
H = ( 'x' – 'w') / 3;
A
1
B
2
C
3
D
zero
Question 157Single Answer
Find the output of the following program.
void ( )
{
int i = 065, j = 65;
printf("%d", i, j)";
}
A
5365
B
6565
C
06565
D
05365
Question 158Single Answer
What is the difference between a declaration and a definition of a variable?
A
Both can occur multiple times, but a declaration must occur first
B
A definition occurs once, but a declaration may occur many times
C
Both can occur multiple times, but a definition must occur first
D
A declaration occurs once, but a definition may occur many times
Question 159Single Answer
"My salary was increased by 15%" Select the statement, which will EXACTLY reproduce the line of text above.
A
printf("My salary was increased by 15/%!");
B
printf("My salary was increased by 15%!");
C
printf ("My salary was increased by 15'%'!");
D
printf("My salary was increased by 15%%!");
Question 160Single Answer
How many times below for loop will be executed ?
#include
int main ( )
{
int i = 0;
for(;;)
printf("%d",i);
return 0;
}
A
0 times
B
Infinite times
C
1 times
D
10 times
Question 161Single Answer
Find output of the following program ?
#include
int main ( )
{
char str [ ] = "Smaller";
int a = 100;
printf(a > 10? "Greater" : "%s", str);
return 0;
}
A
Greater
B
100
C
Smaller
D
Compile Error
Question 162Single Answer
Assuming a short is two bytes long, what will be printed by the below
code ?
short testarray[4][3] = { {1}, {2,3}, {4, 5, 6} } ;
printf("%d", sizeof(testarray));
A
6
B
7
C
24
D
It will not compile because not enough initializers are given
Question 163Single Answer
Guess the output of the following program ?
#include
int main ( )
{
int a = 100, b = 200, c = 300;
if(!a> = 500)
b = 300;
c = 400;
printf("%d,%d,%d", a, b, c);
return 0;
}
A
100, 300, 300
B
100,200,400
C
100,200,300
D
100,300,400
Question 164Single Answer
Guess the output of the following program;
#include
int main ( )
{ int x = 10;
float y = 10.0;
if(x = y)
printf("x and y are equal");
else
printf("x and y are not equal");
return 0;
}
A
x and y are equal
B
Compile Error
C
Run Time Error
D
x and y are not equal
Question 165Single Answer
Guess the output of the program ?
#Include
int main( )
{
int a =0, b =1, c=2;
*((a+1 ==1) ? &b :&a) = a? b:c;
printf("%d, %d, %d/n", a,b,c);
return 0;
}
A
1, 1, 2
B
2, 2, 2
C
0, 2, 2
D
0, 1, 2
Question 166Single Answer
What will be printed if we execute following program ?
#include
int main ( )
{
float a = 0.3;
if(0.3 >a)
printf("True/n");
else
printf("False/n");
return 0;
}
A
False
B
True
C
True False
D
None of these
Question 167Single Answer
Predict the output of the program ?
#include
int main ( )
{
if(printf("ABC"))
printf("True");
else
printf("False");
return 0;
}
A
ABC
B
ABCFalse
C
True
D
ABCTrue
Question 168Single Answer
Guess the output of the program ?
#include
int main ( )
{
int i = 1, j = 2;
if(i = 1) && if (j = 2)
printf ("India is my country");
return 0;
}
A
No output and No Error
B
Error : Misplaced IF
C
Error : Expression Syntax Error
D
Error : Undeclared identifier if
Question 169Single Answer
How many times loop will get executed ?
#Include
int main ( )
{
int i = 0;
while(i < = 255)
{
printf("%d",i);
i++;
}
return 0;
}
A
1 Time
B
255 Times
C
Infinite Times
D
256 Times
Question 170Single Answer
Point out error in the following code-
#include
int main ( )
{
int x = 50, y = 100;
if( x = = y)
printf("x is equal to yn"); else if (x>y)
printf("x is greater than yn"); else if (x < y)
printf ("x is less than yn")1
return 0;
}
A
Error : R – Value Required
B
Error : Expression Syntax
C
Error : L – Value Required
D
Error : Statement missing Semicolon
Question 171Single Answer
Nesting of if-else statements is allowed in C programming .
A
Yes
B
No
C
Depends on Compiler
D
None of the above
Question 172Single Answer
A char variable storing either an ASCII character or a Unicode character is allowed inside switch case.
A
True
B
False
C
Depends on Compiler
D
None of the above
Question 173Single Answer
We cannot use String in the Switch case as label !
A
False
B
True
C
Depends on compiler
D
None of the above
Question 174Single Answer
Which of the following cannot be checked in a switch case statement ?
A
Character
B
Integer
C
Enum
D
Float
Question 175Single Answer
Continue statement is allowed inside the switch case statement ?
A
No
B
Yes
C
Depends on the Compiler
D
None of the above
Question 176Single Answer
Which of the statement we need to write, in order to check any condition .
A
If
B
Break
C
Continue
D
exit
Question 177Single Answer
Which of the following is not an example of looping statement ?
A
for
B
do - while
C
while
D
switch
Question 178Single Answer
What will be the valid value of X by Which we can print
"DEF"
#Include
int main ( )
{
int x = ______; if (x)
printf("ABC");
else
printf("DEF");
return 0;
}
A
zero
B
-9
C
'0'
D
'A'
Question 179Single Answer
For loop is _____ .
A
Function Controlled Loop
B
Entry Controlled Loop
C
Exit Controlled Loop
D
None of these
Question 180Single Answer
What will be the outpur of the program?
#include int main ( )
{
int y = 128;
const int x=y;
printf("%dn",x);
return 0;
}
A
128
B
Garbage value
C
Error
D
zero
Question 181Single Answer
What will be the output of the program ?
#include
#include union employee
{
Char name [15];
int age;
float salary;
};
const union employee e1; int main ( )
{
strcpy(e1.name,"K");
printf("%s%d%f',e1.name,e1.age,e1salary);
return0;
}
A
Error: cannot convert from 'const int *' to 'int *const'
B
Error:LValue required in Strcpy
C
Error :RValue required
D
No error
Question 182Single Answer
What will be the output of the program?
#include
int fun(int **ptr); int main ( )
{
int i = 10;
const int * ptr = &i;
fun(&ptr);
return 0;
}
int fun(int**ptr)
{
int j = 223;
int * temp = &j;
printf("Before changing ptr = %5xn",*ptr);
const*ptr = temp;
printf("After changing ptr = %5xn",*ptr);
return 0;
}
A
Address of i Address of j
B
10223
C
Error:cannot convert parameter 1 from 'const int **to 'int**'
D
Garbage value
Question 183Single Answer
What will be the output of the program ?
#include
int main ( )
{
const int x = 5;
const int *ptrx;
ptrx = &x;
*ptrx = 10;
printf("%dn", x);
return 0;
}
A
5
B
10
C
Error
D
Garbage Value
Question 184Single Answer
What will be the output of the program in TurboC ?
#include
int fun (int **ptr);
int main ( )
{
int i = 10, j = 20;
const int *ptr = &i;
printf("i = %5X",ptr):
Printf("ptr = %d", *ptr);
ptr = &j;
printf("j = %5X",ptr);
printf("ptr=%d",*ptr);
return 0;
}
A
i = FFE2ptr=12j=FFE4ptr=24
B
i = FFE4ptr=10j=FFE2ptr=20
C
i = FFE0ptr=20j=FFE1ptr=30
D
Garbage value
Question 185Single Answer
What are the types of linkages ?
A
Internal and External
B
External, Internal and None
C
External and None
D
Internal
Question 186Single Answer
Which of the following special symbol allowed in a variable name ?
A
* (asterisk)
B
| (pipeline)
C
– (hyphen)
D
_ (underscore)
Question 187Single Answer
What will be the output of the program ?
#include int main( )
{
const char *s = " " ;
char str [ ] = "Hello";
s = str;
while (*s)
print("%c",*S++); return 0;
}
A
Error
B
H
C
Hello
D
Hel
Question 188Single Answer
What will be the output of the program?
#include
int get ( ); int main ( )
{
const int x= get ( );
printf("%d",x);
return 0;
}
int get ( )
{
return 20;
}
A
Garbage value
B
Error
C
20
D
zero
Question 189Single Answer
If the class name is X, what is the type of its "This" pointer (in a nonstatic, non – const member function) ?
A
const X* const
B
X * const
C
X*
D
X &
Question 190Single Answer
Which classes allow primitive types to be accessed as objects ?
A
Storage
B
Virtual
C
Friend
D
Wrapper
Question 191Single Answer
When is std::bad_alloc exception thrown ?
A
When new operator cannot allocate memory
B
When alloc function fails
C
When type requested for new operation is considered bad, this exception is thrown
D
When delete operator cannot delete teh allocated (corrupted) object
Question 192Single Answer
Which one of the following is not a fundamental data type in C++
A
float
B
string
C
int
D
wchar_t
Question 193Single Answer
Which of the following is a valid destructor of the class name "Country"
A
int ~ Country ( )
B
void Country ( )
C
int ~ Country (Country obj)
D
void ~ Country ( )
Question 194Single Answer
Which of the following correctly describes C++ language ?
A
Statically typed language
B
Dynamically typed language
C
Both Statically and dynamically typed language
D
Type-less language
Question 195Single Answer
Which of the following keyword supports dynamic method resolution ?
A
abstract
B
Virtual
C
Dynamic
D
Typeid
Question 196Single Answer
Which of the following is the most preferred way of throwing and handling exceptions ?
A
Throw by value and and catch by reference.
B
Throw by reference and catch by reference.
C
Throw by value and catch by value
D
Throw the pointer value and provide catch for teh pointer type.
Question 197Single Answer
Which of the following is not true about preprocessor directives ?
A
They begin with a hash symbol
B
They are processed by a preprocessor
C
They form an integral part of the code
D
They have to end with a semi colon
Question 198Single Answer
What's wrong? while (i < 10) && (i >24) )
A
the logical operator && cannot be used in a test condition
B
the while loop is an exit-condition loop
C
the test condition is always false
D
the test condition is always true
Question 199Single Answer
A continue statment causes execution to skip to
A
the return 0; statement
B
the first statement after the loop
C
the statement following the continue statement
D
the next iteration of the loop
Question 200Single Answer
What's wrong ? (x = 4&&y = 5)? (a = 5); (b = 6);
A
the question mark should be an equal sign
B
the first semicolon should be a colon
C
there are too many variables in the statement
D
the conditional operator is only used with apstrings