0% found this document useful (0 votes)
72 views

Questions Reasoning

The document contains 14 multiple choice questions related to C programming language concepts such as variable declaration, data types, operators, loops, functions, and more. It also includes 12 general knowledge questions on topics like directions, patterns, math, and relationships.

Uploaded by

Prakhar Rajput
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views

Questions Reasoning

The document contains 14 multiple choice questions related to C programming language concepts such as variable declaration, data types, operators, loops, functions, and more. It also includes 12 general knowledge questions on topics like directions, patterns, math, and relationships.

Uploaded by

Prakhar Rajput
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Question 1.

gorblflur means fan belt


pixngorbl means ceiling fan
arthtusl means tile roof
Which word could mean "ceiling tile"?

option

A.gorbltusl

B.flurgorbl

C.arthflur

D.pixnarth

Answer –

Q2. SCD, TEF, UGH, ____, WKL

a) CMN

b) UJI

c) VIJ

d) IJT

Answer – (c) VIJ

Q3-Peter is facing north. He turns to his right and walks 20 m and then turns to his left and walks 25
m. He then walks 25 m to his right. Next, he walks 50 m to his right. Finally, he turns to his right and
walks 30 m. In which direction is he from the starting point?

1. South-East
2. South
3. South-West
4. West

Ans 1
Q4.How many triangles will be in the 6th shape?

A) 10

B) 12

C) 14

D) 16

Ans C

Q5.granzotl means heavy rain

zotlmag means rainforest

maggranz means heavy forest

What could “magzotl” mean?

A) heavy forest

B) forest rain

C) heavy rainforest

D) rainforest heavy

C) heavy rainforest

Q6. Choose the odd number from the given list.

A. 17
B. 13
C. 27
D. 19.
Answer: C. 27

Q8.If GEEKS is Written as 202222168 , then how would GOOD be written ?

20121223

Q9.Tanya is older than Eric.

Cliff is older than Tanya.

Eric is older than Cliff.

If the first two statements are true, the third statement is

a. true

b. false

c. uncertain

answer B

Q10.Cork: Pop:: Coins : ?

1. Tinkle
2. Ring
3. Rattle
4. Zoom

Ans 1.

Q11.Largest five digit number exactly divisible by 39 is:

1. 99979
2. 99956
3. 99989
4. 99996

Ans 4

Q12.A woman introduces a man as the son of the brother of her mother. How is a man related to the
woman?
(a) Nephew
(b) Son
(c) Cousin
(d) Uncle

Answer C
Q13.Chose the correct mirror image

Answer B

Q14.Select the alternative group which will make a perfect square.

A. 1,4,5

B. 2,3,5

C. 1,2,3

D. 2,3,4

ans 1,2,3

C Language Test Paper

Question 1: What is the correct syntax to declare a variable in C?

A. variable x;
B. var x;
C. x = variable;
D. int x;

Correct Answer: D

Question 2: What is the output of the following code snippet?

cCopy code

#include <stdio.h> int main() { int a = 5; printf("%d", a++); return 0; }


A. 5
B. 6
C. 4
D. 0

Correct Answer: A

Question 3: Which of the following is a valid way to comment a single line in C?

A. // This is a comment
B. # This is a comment
C. /* This is a comment */
D. -- This is a comment

Correct Answer: A

Question 4: What is the purpose of the sizeof operator in C?

A. Find the size of a file


B. Find the size of a function
C. Find the size of a variable or data type
D. Find the size of a loop

Correct Answer: C

Question 5: Which of the following is the correct syntax for a for loop in C?

A. for (int i = 0; i < 10; i++)


B. for (i = 0; i < 10; i++)
C. for (int i = 0; i++)
D. for (i < 10; i++)

Correct Answer: A

Question 6: What does the scanf function in C do?

A. Print formatted output to the console


B. Read formatted input from the console
C. Allocate memory for a variable
D. Declare a new variable

Correct Answer: B

Question 7: In C, how is dynamic memory allocated?

A. alloc()
B. malloc()
C. new()
D. allocate()

Correct Answer: B

Question 8: Which header file is necessary to use the printf function in C?

A. <stdio.h>
B. <stdlib.h>
C. <math.h>
D. <string.h>

Correct Answer: A

Question 9: What is the purpose of the break statement in C?

A. Terminate the program


B. Exit the loop immediately
C. Skip the current iteration of the loop
D. Return a value from a function

Correct Answer: B

Question 10: What is the scope of a variable declared inside a function in C?

A. Global
B. Local
C. Static
D. Constant

Correct Answer: B

You might also like