Questions

Q:

What will output when you compile and run the following code?

#include <stdio.h>
struct student
{

int roll;
int cgpa;
int sgpa[8];

};

void main()
{

struct student s = { 12,8,7,2,5,9 };
int *ptr;
ptr = (int *)&s;
clrscr();
printf( "%d", *(ptr+3) );
getch();

}

A) 8 B) 7
C) 2 D) Compiler error
 
Answer & Explanation Answer: C) 2

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Programming

1 16890
Q:

Select the antonym of

facade

A) frontage B) semblance
C) veneer D) reality
 
Answer & Explanation Answer: D) reality

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 16888
Q:

List out some reasons for process termination.

Answer

- Normal completion


- Time limit exceeded


- Memory unavailable


- Bounds violation


- Protection error


- Arithmetic error


- Time overrun


- I/O failure


- Invalid instruction


- Privileged instruction


- Data misuse


- Operator or OS intervention


- Parent termination.

Report Error

View answer Workspace Report Error Discuss

22 16865
Q:

Rearrange the parts of the sentence in correct order.

 

P: But our behavior, ‘good’ or ‘bad’, certainly shapes our persona and determines our personality.
Q: If one is helpful, polite and considerate in one’s actions towards fellow-beings, one is known as a kind person.
R: The converse is equally true and a mean, rude and selfish person is regarded as bad.
S: Growing urbanisation and lack of roots in any given place have made us increasingly indifferent to the feelings of others and led us to adopt an apathetic attitude to most things.

A) PQRS B) PSQR
C) SPQR D) SQRP
 
Answer & Explanation Answer: C) SPQR

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 16861
Q:

Read each sentence to find out whether there is any error in any part

One of the assistant(a) was(b) Alfred(c). No error.(d)

A) a B) b
C) c D) d
 
Answer & Explanation Answer: A) a

Explanation:

‘One of the assistant’ needs to be replaced with ‘one of the assistants’ to make the sentence grammatically and contextually correct. This is because, ‘One of’ is always followed by a plural noun.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 16849
Q:

Rearrange the following jumbled sentences to make a meaningful one

 

P - weather conditions across a vast geographic

Q - the climate of India

R - scale and varied topography

S - comprises of a wide range of

 

The proper sequence should be

 

A) SRQP B) QSPR
C) PQRS D) QRPS
 
Answer & Explanation Answer: B) QSPR

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams , GRE , TOEFL

1 16849
Q:

Rock cut architecture in Harappan culture context has been found at

A) Kalibangan B) Dholavira
C) Kotdiji D) Amri
 
Answer & Explanation Answer: B) Dholavira

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

34 16839
Q:

In the binary Language each letter of  the alphabet, each number and each special character is made up of a unique combination of  _________

A) eight bytes B) eight kilobytes
C) eight characters D) eight bits
 
Answer & Explanation Answer: D) eight bits

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

57 16837