Time Left - 12:00 mins
UGC-NET 2018: ( Programming ) SpeedTest Quiz 24
Attempt now to get your rank among 255 students!
Question 1
printf(“%c”, 100);
Question 2
The ‘C’ language is
Question 3
What is the output of the following programme? (Assume that the appropriate pre-processor directives are included and there is no syntax error)
Main ()
{ char S[] = “ABCDEFGH”;
printf(“%C”, *(&S[3]));
printf(“%s”, S + 4);
printf(“%u”, S);
/ * Base address of S is 1000 */
}
Main ()
{ char S[] = “ABCDEFGH”;
printf(“%C”, *(&S[3]));
printf(“%s”, S + 4);
printf(“%u”, S);
/ * Base address of S is 1000 */
}
Question 4
What is the value of ‘b’ after the execution of the following code statements:
c = 10;
b = + + c + + + c;
c = 10;
b = + + c + + + c;
Question 5
Functions defined with class name are called as
Question 6
Which diagram provides a formal graphic notation for modelling objects, classes and their relationships to one another?
Question 7
Assume that we have constructed functions for both base class and derived class. Now consider the declaration in main( ). Base ∗ P = New Derived; in what sequence will the constructor be called?
Question 8
Module design is used to maximize cohesion and minimize coupling. Which of the following is the key to implement this rule?
Question 9
Which of the following are two special functions that are meant for handling exception, that occur during exception handling itself?
Question 10
Enumeration is a process of
- 255 attempts
- 2 upvotes
- 5 comments
Tags :
GATE & PSU CSGeneralMar 19GATE & PSU CS