Anda di halaman 1dari 17

Sr. N Question o.

________performs and supervises the execution of instructions and directs other 01 devices of computer to act as per their designated functions. Option1 Option2 Option3 Option4 Answ er

ALU

Control Unit RAM

Main 2 Memory

02 All of the following are input devices EXCEPT

Touch screen

Punch Cards Mouse

None of these options None of these options

03 Magnetic disk is a ________ storage device

Direct access

Indirect access

Random access Floppy disk

04 Which of the following are not Hard disk

Zip disk

Disk packs

Wincheste 3 r Disk

Which of these keys belong to QWERTY 05 keyboard 06 Collection of Programs is

Numeric null Keypad Software Instructions

All of Alphanum these eric Keys options

Hardware Procedure 1 All of Algorithm these options All of these options

07 _______is a program execution.

Procedure Process

08 _______ is an operating system

MS-DOS WINDOWS

LINUX

09

The conversion of digital data to analog form is Modulati Demodulatio Sampling Modem _______ on n None of these options decimal

Vaccum 10 The first generation machines used _________ Tube The input interfaces transforms the data into _________code

Transistors

IC`s

11

hexa

binary

octal

Super computers use __________ and 12 __________ technologies to solve complex problems faster

FUZZY MULTIPROCE PARELLEL LOGIC RISC AND SSING AND PROCESSI AND 2 PARELLEL NG AND NEUTRAL CISC TECHNIQ PROCESSING RISC UE System calls Command language Job All of control these language options Sampler Cable modem Scanner

13 Different types of user interfaces include

14

_______ is a device capable of changing signals Trasistor Transducer from one form to another. The interface that enables similar networks to communicate is called Bus Router network

15

Bridge

A value written into a program instruction that 16 does not change during the execution of Identifiers Constants program. 17

Objects

Operators 2

Algorithms can be represented in various ways PROGRA DECISION SPREADSH FLOWCHARTS 4 EXCEPT MS CHARTS EET _________ symbol is used for Processing of data. Oval Parallelogram Rectangle Diamond 3

18

The ______ symbol is used to indicate the comments/remarks on the contents of a Documen 19 Annotaion procedure in order to clarify some point of the t flowchart. All of the following are computer Language 20 Processors EXCEPT: Language Primarily used for internet-based applications Translation Compiler Software

Arrow

Connector 2

None of Interprete these r options JAVA

21

ADA

C++

FORTRAN 3

23

The errors that occur in computer program is________

Syntax error

Syntax None of error and these Logical error Logical options error

24 Program errors are known as ________

Virus

Bugs

Errors

All of these options

25

The component of data base management system is ________

Data definition Data Data Language None of definition manipulation and Data these manipulati options Language Language on Language Direct Indexed Sequential Sequential Batch only All of windows these operating options system None of these options

26

The file organization method which stores records in no specific order is called:

27 C can be used on

Only MSonly unix DOS operating operating system system

28 Which of the following is not a valid identifier? name_23 __tail__

2ndday

void main() { int A=0, B=0, C=0, D=0; if((A==B)&&(A*B<=B)) { if(D==1) C=1; else if(A==1) C=2; } else

29

10

00

01

11

C=3; if((B==0)&&(A==B)&&(A!=1)) D=1; } What are the final values of C and D? #include<stdio.h> void main() { 30 int x=10; (x<0)?(int a =100):(int a =1000); printf(" %d",a); } 31 If `a` is an integer variable, a = 5/2; will return a 2.5 value: What is the output of the following code : #include<stdio.h> void main() 32 { extern int out; printf("%d",out); } Run time Compile time 100 error error Garbage value 3 3 2 0 3 Error 1000 100 None of these options 1

int out=100; What is the output of the following code? #include<stdio.h> void main() 34 { int a = 0; printf("\n %d\t", (a = 10/a)); } for( loop for( loop = Write a for loop which will read five characters = 0; loop for( loop = 0; None of 0; loop < loop <= 5; these 35 (use scanf) and deposit them into the character < 5; 4; loop++ loop++ based array words, beginning at element 0. loop++ )scanf( options )scanf( )scanf( #include<stdio.h> void main() { while (1) { 36 if (printf("%d",printf("%d"))) break; else continue; } None of these options 0 1 Compile Runtime 4 Time error Error

Compile Goes into an Garbage time error infinite loop values

} The output is What is the output of the following code? #include<stdio.h> char *someFun() { char *temp = "String constant"; 37 return temp; } main() { puts (someFun()); } What is the output of the following code? #include<stdio.h> int Check(int); void main() 38 { printf("\n%d\t",Check(100)); } int Check(int a) 1 0 Error None of these options String Null value constant Error None of these options 1

{ if(a%2==0) { return 1; break; } return 0; } The expression temp1 = f(); temp2 = g(); 39 temp3 = h(); temp4 = temp2 * temp3; temp5 = temp1 * temp4; is equivalent to the an a floating character undetermine point 1 constant d value number `\0` order subscript data type 3 Any of f() + g() * f() + (g() * h()) these h() options None of these options 4

40

If you don`t initialize a static array, what will be 0 the elements set to?

41

Elements in an array are identified by a unique symbol _______. What is the output of the following code?

42 #include<stdio.h>

16

11

Error

void main() { int arr[2][3][2]={{{2,4},{7,8},{3,4},}, {{2,2},{2,3},{3,4}, }}; printf("\n%d",**(*arr+1)+2+7); } What is the output of the following code? #include<stdio.h> void main() { 43 int arr[] = {10,20,30,40,50}; int x,*ptr1 = arr, *ptr2=&arr[3]; x = ptr2 - ptr1; printf("\n%d\t",x); } 44 An address is a ________, while a pointer is a _________. #include"stdio.h" main() 45 { int *p1,i=25; void *p2; Program will not 25 compile Garbage value Address of 2 I variable, variable, location position constant, None variable 3 6 3 Compile Runtime 2 Time error Error

p1=&i; p2=&i; p1=p2; p2=p1; printf("%d",i); } The output of the above code is : main() { char thought[2][30]={"Don`t walk in front of me..","I am not follow"}; 46 printf("%c%c",*(thought[0]+9),*(*(thought+0)+ 5)); } What is the output of this program? none of these options kk

Don`t walk in I may not k front of me follow

47 ptr equivalent of a[i][j] is

((*a+i)+j) *(*(a+i)+j)

**a+i+j

Given the statement, 48 maruti.engine.bolts = 25; which of the following is true?

structure bolts is nested within structure engine

structure engine is nested within structure maruti

structure maruti is nested within structure engine

structure maruti is nested 2 within structure bolts 8, unpredict 2 able

49

struct num {

88

89

98

int no; char name[25]; }; void main() { struct num n1[]={{25,"rose"},{20,"gulmohar"},{8,"geranium "},{11,"dahalia"}}; printf("%d%d"n1[2].no,(*&n1+2)->no+1); } What is the output of this program? What is the output of the following program? void main() { struct player { 50 char name[30]; unsigned char player_number; float batting_average }; printf("size = %d", sizeof (struct player)); size = 32 size= 35 size= 36 size= 33 3

} 51 A _______ is a linear list in which additions and Stack deletions take place at the same end. Arrays Queue Arrays or linked list Linked list None of 1 the above

52 Stack can be represented using

Only None of 2 linked list the above Postfix Simulatio 4 Notation n enque(Q,X push(Q,X) 4 )

53 Stack is not used in

Recursion Quick Sort

Which of the following is not an operation of 54 queue, assuming that queue has items `Q` and empty(Q) deque(Q,X) `X`? Consider a linked list of n elements. What is the 55 time taken to insert an element after an O(log2n) O(n) element pointed by some pointer?

O(1)

O(n log2n) 3

One data Two data One data and The node of the circular doubly linked list must and two and two one address 56 address address have: fields fields fields macro conditional replacem inclusion ent

Two data and one 1 address fields

57 The function of the C Preprocessor is:

file All of the 4 inclusion above. for( a = `A`; a <= `Z`; a = a + 1) for( a = `Z`; a <= `A`; a = a + 1) 3

for( a = for( a = `a`; a `z`; a < <= `z`; a = a + `a`; a = a The statement that prints out the character set 1) 1) 58 from A-Z, is printf("%c", printf("%c &a); ", &a); /*consider that file zzz.h starts here*/ printf("Hello"); 59 /*and ends here*/ void main() World Hello

printf("%c printf("%c ", a); ", a);

HelloWorl Compilaio 3 d n Error

{ #include "zzz.h" printf("World"); } What is the output of the above program void menu( The function called menu which prints the text void ) { string "Menu choices", and does not pass any printf("M 60 data back, and does not accept any data as enu parameters, looks like choices"); } Which of the following are correctly formed 61 #define statements

int menu( int menu( char void ) { None of string[] ) { 4 printf("Menu the above printf("%s choices"); } ", string); }

#define #define #define #define SQR INCH PER SQR (X* X SQR(X) (X) 4 (X * X) (X) FEET 12 * X) * (X) Front==re Front=rear Front=rea Front=rear-1 1 ar +1 r+1 User Abstract Define 3 Data type Data type None of these options All of these options.

62 When is linear queue said to be empty ?

The data type created by the data abstraction 63 process is called

Class

Structure

Peer-to-peer relationship is a type of 64 _________.

Associatio Aggregation Link n

65 An object has _____.

State

Behaviour

Identity.

66 A derived class

Inherits data members and member functions

Inherits constructors and destructor.

Object can Inherits access data protected members 1 members and with the member dot functions

from base class.

operator. from base class as well as Inherits construct ors and destructor .

67 Reusability can be achieved through.

All of Inheritanc Associatio these Composition. e. n. options Containing None of Containin and these Composition Compositi g options on Unique Unified modeling modeling language. language

68

An object containing other object is called_____.

69 UML stands for

Unified Unified modern master 2 language laqnguage

The term given to the process of hiding all the details of an object that do not contribute to its data70 essential characteristics is called hiding. _____________.

packaging.

encapsula grouping 3 tion.

71 If constructor is not provided then

All Objects data will be stored Compiler in same Default Object will not memory construct creation is 4 compile area so or will be not possible overwritin provided the class g of data will happen Overloadi ng different member function A feature in which member function with same name Overloadi None of ng these without options argument

72 Method overloading is _________

of a class and different pasing. signature. 73 WATERFALL : CASCADE :: snow : freeze missile : launch tree : wave : 4 exfoliate undulate

74 SATURINE : MERCURIAL ::

redundan heavenly : saturn : venus wolf : sly 3 t : wordy starry flood : water famine : food fire : ashes disease : 1 germ instrumen ts : 1 musicians

75 EXPLOSION : DEBRIS ::

76 DOCUMENTS : ARCHIVE ::

artifacts : tools : actors : stage museum worker apathy : caring

78 TENACITY : WEAK ::

pity : strong

immoralit frequency 1 y : wrong : known cast : fracture 4

79 BANDAGE : WOUND ::

stamp : diaper : gloves : hands envelope baby

80 RESOLVED : DOUBT ::

confirmed announced : included : suggested : 1 candidacy guest : idea suspicion innocuous deleterious : required : compulsor 4 : forbid embark decide y : comply humiliate intensify reject uncover convert infect solidify subject 2 1

81 PROHIBITED : REFRAIN :: 82 ASSUAGE : 83 COURT :

The number In 1950, transylyvania earned $ 1 million in of tourists average tourist revenue.By 1970, tourist revenue has expenditure 84 doubled and in 1980, it reached the sum of $4 increased per tourist million Each of the following, if true may explain from has increased the trend in tourist revenue except: 1950 to 1980 85 Each of the following could be the number of white puppies in the shelter EXCEPT 4 5

the Average number of stay per total hotel 4 tourist has rooms has increased increased.

sushil is the son of the teacher. mohan is the 86 teacher and he has a son and daughter therefore mohan is the father of sushil Typically the entrepreneur is seen as an individual who owns and operates a small business. But, simply to won and operate a small business or even a big business does not make someone an entrepreneur. If this person 87 is a true entrepreneur, then new products are being created, new ways of providing services are being implemented. Which of the following conclusion can be best drawn from the above passage.

definitely probably probably true cannot say 2 true false

Entrepren An owner Someone eurs do Entrepren of a large who develops not own eurs are business an enterprise and the main 2 may be an may be operate actors in entrepren considered an small economic eur. entrepreneur. businesses growth. .

Canned During 1985, advertising expenditures on Advertisin Canned food food canned food products increased by 20%, while g prices products are 89 canned food consumption rose by 25%.Each of effectiven decreased the following, if true, could help explain the ess relative to available increase in food consumption except: increased. substitutes. in more stores. Once a company has established an extensive Sales sales network in a foreign market and therefore network has achieved substantial sales, it seems that can be thesemarket should be treated in a very similar the same in both 90 fashion to those in one`s own courtry. It is therefore those countries where only initial sale foreign and representation have been developed where and marketing methods will have to differ from domestic domestic activities market

Can opener productio 1 n doubled.

larger Extensive some markets sales countries abroad networks are develop are more preferable to economic adaptable 4 less ally faster to developed than domestic marketing ones. others methods

starting from a point x jayant walked 15metres towards the west he turned to his left and walked 20 metres he then turned to his left and 32 metres 47 metres 91 walked 15 metres he then further turned to his south east right and walked 12 metres how far is jayant from the point x and in which direction? Every town with a pool hall has its share of 92 unsavory characters. This is because the pool hall attracts gamblers and all gamblers are

42 metres 27 metres 1 north south

All Every All All pool halls gamblers town has gamblers 3 attract are unsavory are

unsavory. Which of the following, if true cannot unsavory. gamblers. be inferred from the above?

characters attracted by pool . halls. Blue Industries is in the insurance business. More divestmen t takes 3 place in the tobacco

In winning its bitter,protracted battle to acquire Blue Blue industries, Inc., Bell industries has fulfilled Industries its goal to lessen its reliance on tobacco is in the 93 holdings, while the $5.2 billion deal may spur tobacco more takeover activity in the insurance, industry. analysts said. Every town with a pool hall has its share of unsavory characters. This is because the pool 94 hall attracts gamblers and all gamblers are unsavory. which of the following, if true cannot be inferred from the above?

Belle Industries is in the insurance business

All All Every gamblers All pool halls gamblers town has are attracts 3 are unsavory attracted gamblers unsavory characters by pool halls

Which of the following equations can be used to find a number x, if the difference between 95 x - 21 = 4x x2- 21 = 4x the square of this number and 21 is the same as the product of 4 times the number? How many terms of the series -9 , -6 , -3 96 ,.........must be taken such that the sum may be 11 66? If the measures of the three angles of a triangle 97 are (3x + 15), (5x - 15), and (2x + 30), what is the 75 measure of each angle? A boy takes a 25 question test and answers all queations. His score is obtained by giving him 4 points for each correct answer, and then 98 17 subtracting 1 point for each wrong answer. He obtains a score of 70, how many questions did he answer correctly?

x2 = 21-4x

x+ 4x2=21

13

10

60

45

25

18

19

20

99

Which is a better investment? 14% stock at Rs.120 or 10% stock at Rs.90 ?

First Second Both are investme investment is equally nt is better good better

None of 1 the above.

I sell 20 boxes for Rs. 132 gaining thereby the 10 cost price of 4 boxes. What is the cost price of 0 each? If the ratio of women to men in a meeting is 4 10 to 1, what percent of the persons in the 1 meeting are men? 10 .03 times .05 is 2 10 What is the length of side BC ? 3 If the lengths of the two sides of right triangle 10 adjacent to the right angle are 8 and 15 4 respectively, then the length of the side opposite the right angle is

5.0

4.8

5.5

6.6

20%

25%

33 1/3%

80%

15%

1.5%

0.15%

0.015%

(34)1/2

15.8

16

17

17.9

Anda mungkin juga menyukai