|
1. List out the areas in which data structures are applied extensively? Compiler Design, Operating System, Database Management System, Statistical analysis package, Numerical Analysis, Graphics, Artificial Intelligence, Simulation. 2. Advantages of using flow charts is ____________ a) Effective Analysis b) Efficient Coding c) Time consuming d) Effective Analysis and Efficient Coding 3. The statement that prints out the character set from A-Z, is a. for( a = `z`; a < `a`; a = a - 1) printf("%c", &a); b. for( a = `a`; a <= `z`; a = a + 1 printf("%c", &a); c. for( a = `A`; a <= `Z`; a = a + 1) printf("%c", a); d. for( a = `Z`; a <= `A`; a = a + 1) printf("%c", a); 4. The programming language that was designed for specifying algorithm a) Address b) ASCII c) ALGOL d) None of these options 5. Language Primarily used for internet-based applications a) ADA b) C++ c) JAVA d) FORTRAN 6. Consider the following statements. i. Multiplication associates left to right ii. Division associates left to right iii. Unary Minus associates right to left iv. subtraction associates left to right All are true a) only i and ii are true b) all are false c) only iii and iv are true
7. __________ is the analysis tool used for planning program logic a) Protocol b) None of these options c) PROLOG d) Pseudocode 8. What would be the output of the following program? #include main() { printf("\n%c", "abcdefgh"[4]); } a) abcdefgh b) d c) e d) error 9. What is the output of the following code? #include void main() { int a=14; a += 7; a -= 5; a *= 7; printf("\n%d",a); } a) 112 b) 98 c) 89 d) None of these options 10. #include"stdio.h" main() { int *p1,i=25; void *p2; p1=&i; p2=&i; p1=p2; p2=p1; printf("%d",i); } The output of the above code is :_____________ a) Program will not compile b) 25 c) Garbage value d) Address of I
|