Explore topic-wise MCQs in Newgen.

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

1.

Evaluate following expression: a=3, b=6,c=4,d=2 a=b>c && b-c= a+c

A. 0
B. 1
C. Error
D. None of these
Answer» C. Error
2.

Give the output of the following program: #include int main() { long number = 5572331, result=0; do { result * = 10; int digit = number% 10; result += digit ; number / = 10; } while (number>0); cout<< result ; return 0; }

A. 7552133
B. 3312755
C. 1332755
D. None of these
Answer» D. None of these
3.

What is a chunk of memory called ?

A. Page
B. Sector
C. Frame
D. None of these
Answer» D. None of these
4.

Which of the following is not a characteristic of modern DBMS?

A. Real world entity
B. More redundancy
C. Isolation of data and applications
D. Consistency
Answer» C. Isolation of data and applications
5.

Which of the following is feature of friend classes?

A. If class A is a friend of class B, class B is not automatically a friend of class A.
B. If class A is a friend of class B, and class B is a friend of class C, class A is not automatically a friend of class C.
C. None of these
D. Both (a) and (b)
Answer» E.
6.

Consider the following code: int f(int k) { static int i = 100; int l; if (i == k) { printf("something"); l= f(i); return 0; } else return 0; } Which one of the following is TRUE?

A. the function returns 0 when j = 1000.
B. the function prints the string something for all values of j.
C. the function returns 0 for all values of j.
D. the function will exhaust the runtime stack or run into an infinite loop when j = 100
Answer» E.