With each visit of this Programming In C online Quiz / Practice Test, the list of MCQs / Objective Questions presented will be different, offering you a diverse set of practice opportunities. This variability encourages you to practice extensively, refining the accuracy of your answers and your overall grasp of the content. By utilizing this resource, you can hone your skills and become more adept at managing time constraints during actual exams.
Test Instructions Question type Randomized MCQs.Changes every time you visit the test Total Number of Questions 30 Time Limit 20 Minutes Points 1 Point for each Question
Remaining Time: 0 MINUTES
0 of 30 questions completed
Questions:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Information
You have already completed the test before. Hence you can not start it again.
0 of 30 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0 )
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Question 1 of 30
Q-1.What would be the program print if scheme used dynamic scope and deep binding?
Your Answer:Correct
Your Answer:Incorrect
Question 2 of 30
Q-2.First high level language to be implemented on personal computers
Your Answer:Correct
Your Answer:Incorrect
Question 3 of 30
Q-3.ll variables created can be saved using command
Your Answer:Correct
Your Answer:Incorrect
Question 4 of 30
Your Answer:Correct
Your Answer:Incorrect
Question 5 of 30
Q-5.Which of the following is a key word is used for a storage class
Your Answer:Correct
Your Answer:Incorrect
Question 6 of 30
Q-6.Which is not keyword in ‘C’ ?
Your Answer:Correct
Your Answer:Incorrect
Question 7 of 30
Q-7.A trigonometric operation ‘sin(A)’ on matrix A will affect
Your Answer:Correct
Your Answer:Incorrect
Question 8 of 30
Q-8.What would the program print if Scheme used dynamic scope and shallow binding?
Your Answer:Correct
Your Answer:Incorrect
Question 9 of 30
Q-9.The most common programming languages ,dating back to the 1940s are called:
Your Answer:Correct
Your Answer:Incorrect
Question 10 of 30
Q-10.through Q 38 refer to the following program in Scheme: (define add-n (lambda (n) (lambda (m) (+ m n)))) (let ((n 4) (f (add-n 3))) (+ n (f 2))) What does this program print?
Your Answer:Correct
Your Answer:Incorrect
Question 11 of 30
Q-11.A static variable by default gets initialized to
Your Answer:Correct
Your Answer:Incorrect
Question 12 of 30
Q-12.In a for loop, if the condition is missing, then?
Your Answer:Correct
Your Answer:Incorrect
Question 13 of 30
Q-13.Which of the following is not an example of a high-level programming language?
Your Answer:Correct
Your Answer:Incorrect
Question 14 of 30
Q-14.Which format specifier is used to print the values of double type variable
Your Answer:Correct
Your Answer:Incorrect
Question 15 of 30
Q-15.Which function is used to read character as you type ?
Your Answer:Correct
Your Answer:Incorrect
Question 16 of 30
Q-16.Structured programming languages are also known as
Your Answer:Correct
Your Answer:Incorrect
Question 17 of 30
Q-17.What programming language has dominated business applications over the past 35 years?
Your Answer:Correct
Your Answer:Incorrect
Question 18 of 30
Q-18.What language has slogan ‘write once run anywhere’?
Your Answer:Correct
Your Answer:Incorrect
Question 19 of 30
Q-19.In what language is UNIX written?
Your Answer:Correct
Your Answer:Incorrect
Question 20 of 30
Q-20.What would happen (in real scheme) if we reversed the order of the two definitions in the let block?
Your Answer:Correct
Your Answer:Incorrect
Question 21 of 30
Q-21.Which of the following languages has the potential to become the next programming language standard? (i) Java
(ii) Html
(iii) Cobol 97
(iv) ADA 95
Your Answer:Correct
Your Answer:Incorrect
Question 22 of 30
Q-22.Preprocessor Directives are used for –
Your Answer:Correct
Your Answer:Incorrect
Question 23 of 30
Q-23.What programming language has dominated scientific computing over the past 35 years?
Your Answer:Correct
Your Answer:Incorrect
Question 24 of 30
Q-24.What will be the size of following union declaration?Union Test {
Int x;
Char c[10
Char y;
Float z; } ;
Your Answer:Correct
Your Answer:Incorrect
Question 25 of 30
Q-25.Which of the following languages introduced the notion of inheritance?
Your Answer:Correct
Your Answer:Incorrect
Question 26 of 30
Q-26.Comment on the output of following code:1. #include
2. main()
3. {
4. char *p = 0;
5. *p = ‘a’;
6. printf(“value in pointer p is %c\n”, *p);
7. }
Your Answer:Correct
Your Answer:Incorrect
Question 27 of 30
Q-27.What will be the output of the following program? Void main( ) {
Int x []= {10,20,30,40,50};
Print f (“ \n %d %d %d %d “, x
[4] ,3[x] ,x[2] ,1[x] ,x[0] ); }
Your Answer:Correct
Your Answer:Incorrect
Question 28 of 30
Q-28. What features make C++ so powerful?
Your Answer:Correct
Your Answer:Incorrect
Question 29 of 30
Q-29.Which of the following languages is the newest?
Your Answer:Correct
Your Answer:Incorrect
Question 30 of 30
Q-30.SNOBOL is mainly used for
Your Answer:Correct
Your Answer:Incorrect