MCQs in Computer Science: Second EditionThis book is designed for Computer Science students taking their GATE, GRE and other competitive examinations, e.g. examinations for Public Sector Undertakings and placement examinations for software firms. It can also act as a powerful self-evaluation tool for the students of Computer Science and Engineering, MCA, B.Sc.(Computer Science), BCA and PGDCA. Updated With:
Key Features:
|
From inside the book
Results 1-5 of 20
Page 1
... loop . ( d ) Never use goto . 2. Which is true of conditional compilation ? ( a ) It is taken care of by the compiler . ( b ) It is setting the compiler option conditionally . ( c ) It is compiling a program based on a condition . ( d ) ...
... loop . ( d ) Never use goto . 2. Which is true of conditional compilation ? ( a ) It is taken care of by the compiler . ( b ) It is setting the compiler option conditionally . ( c ) It is compiling a program based on a condition . ( d ) ...
Page 8
... loop for ( putchar ( ' c ' ) ; putchar ( ' a ' ) ; putchar ( ' r ' ) } putchar ( ' t ' ) ; outputs ( a ) a syntax error ( c ) catrat ( b ) cartrt ( d ) catratratratrat ... 60. The following loop prints 1 = j 10 ; i < 6 ; ++ i , --j ) i ...
... loop for ( putchar ( ' c ' ) ; putchar ( ' a ' ) ; putchar ( ' r ' ) } putchar ( ' t ' ) ; outputs ( a ) a syntax error ( c ) catrat ( b ) cartrt ( d ) catratratratrat ... 60. The following loop prints 1 = j 10 ; i < 6 ; ++ i , --j ) i ...
Page 9
... loop ( b ) a syntax error ( d ) none of the above . while ( printf ( " % d " , printf ( " az " ) ) } printf ( " by " ) ; ( a ) prints azbybybyby ... ( c ) results in a syntax error ( b ) prints azbyazbyazbyazby ... ( d ) none of the ...
... loop ( b ) a syntax error ( d ) none of the above . while ( printf ( " % d " , printf ( " az " ) ) } printf ( " by " ) ; ( a ) prints azbybybyby ... ( c ) results in a syntax error ( b ) prints azbyazbyazbyazby ... ( d ) none of the ...
Page 10
... loop , if the condition is missing , then , ( c ) 37 11 ( d ) 3 7 11 15 a / bbc ) ( c ) invalid > a b c evaluates to ( d ) 0 ( a ) it is assumed to be present and taken to be false ( b ) it is assumed to be present and taken to be true ...
... loop , if the condition is missing , then , ( c ) 37 11 ( d ) 3 7 11 15 a / bbc ) ( c ) invalid > a b c evaluates to ( d ) 0 ( a ) it is assumed to be present and taken to be false ( b ) it is assumed to be present and taken to be true ...
Page 12
... loop ( b ) if ( a ) < = b } if ( b > c ) 1 : else if ( e < = d ) 2 : ( d ) if ( a > b ) else if ( b > c ) P 1 ; else if ( c > d ) 7 else b = 2 ; putchar ( ' b ' ) ; will be executed ( a ) 0 times ( c ) infinitely many times 86. The ...
... loop ( b ) if ( a ) < = b } if ( b > c ) 1 : else if ( e < = d ) 2 : ( d ) if ( a > b ) else if ( b > c ) P 1 ; else if ( c > d ) 7 else b = 2 ; putchar ( ' b ' ) ; will be executed ( a ) 0 times ( c ) infinitely many times 86. The ...
Contents
1 | |
43 | |
Principles of Programming Languages | 76 |
Mathematical Foundations of Computer Science | 96 |
Operating Systems | 131 |
Automata Theory | 146 |
Principles of Compiler Design | 158 |
Computer Organization 171 | 173 |
Computer Graphics | 224 |
System Software | 235 |
Database Management Systems | 242 |
Object Oriented Programming Using C++ | 250 |
Computer Networks | 264 |
Software Engineering | 272 |
SQLPLUS SQL PLSQL Forms and Reports 279 | 278 |
Computer Science Question Paper for GATE 2005 | 315 |
Data Structures | 203 |
Other editions - View all
Common terms and phrases
a.out algorithm argument array assembly language B.OrderNum bits Boolean bytes char character chmod Choose the correct command compiler complement Consider the following contents correct answer correct statements declaration defined digits disk displayed DUAL equation equivalence relation error message evaluated execution file descriptor following program fragment following program main fork FORTRAN function garbage given grammar graph Hence the answer i-node implementation input Insertion sort instruction integer kernel language loop machine macro malloc matrix maximum Mealy machine memory minimum number mode needed nodes NULL odd number operands operating system option output page faults paise parameters PL/SQL pointer printf prints putchar query recursive Refer Qn regular expression roots shell script SIGINT sort SQL*Plus stack string symbols system calls termination tree true UNIX unsigned variable zero