Explore topic-wise MCQs in Intergraph.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Intergraph knowledge and support exam preparation. Choose a topic below to get started.

1.

Analyse the following code snippet and choose the answer:- #include < stdio.h > Class Temp { private: int m_ival; public: Temp() { Cout<<"OBJECT CREATED\n"< } ~Temp() { Cout<<"OBJECT DESTROYED\n"< } }; void fnRead() { Temp oTempObj; } int main() { fnRead(); cout<<"IN MAIN \n"< return 0; }

A. OBJECT CREATED OBJECT DESTROYED
B. OBJECT CREATED OBJECT DESTROYED IN MAIN
C. OBJECT CREATED IN MAIN
D. Compilation Error
Answer» C. OBJECT CREATED IN MAIN
2.

A member function defined within the class definition, rather than simply declared there taken to be an ____________________________________________ member function

A. static
B. inline
C. constant
D. overloaded
Answer» C. constant
3.

Assume that i ,j and k are integer variables and their values are 8,5 and 0 respectively. What will be the values of variables i and k after executing the following expressions ? k=(j>=5) ? (i< 5) ? i-j-i : k-j : i ; i+ = (k)?(i)?(k):(i):(k);

A. -3 and 3
B. 3 and -5
C. 3 and -3
D. -5 and 3
Answer» E.
4.

# include main ( ) { char ch = 'A'; while (ch<='F') { switch(ch) { case 'A': case 'B': case 'C' : case 'D' : ch++; continue; case 'E' : case 'F': ch++; } putchar(ch); } What will be the output of the above program?

A. ABCDEF will be displayed
B. FG will be displayed
C. EFG will be displayed
D. EF will be displayed
Answer» C. EFG will be displayed
5.

The primary distinction between long term scheduler and short term scheduler is________________

A. Process creation tasks
B. Type of tasks executed
C. Frequency of Execution
D. CPU scheduling time
Answer» D. CPU scheduling time
6.

The mechanism that bring a page into memory only when it is needed is called

A. Segmentation
B. Fragmentation
C. Page Replacement
D. Demand paging
Answer» E.