C Programming Quiz - 1

C Programming Quiz - 1

University

20 Qs

quiz-placeholder

Similar activities

Python_Quiz1

Python_Quiz1

University

17 Qs

Electrical Circuits 1

Electrical Circuits 1

University

20 Qs

SESSIONAL EXAM(Programmin Lab)

SESSIONAL EXAM(Programmin Lab)

University

15 Qs

Are you Ready???

Are you Ready???

University

15 Qs

Understanding Java Encapsulation

Understanding Java Encapsulation

University

20 Qs

Java basic

Java basic

University

21 Qs

DECISION MAKING

DECISION MAKING

University

20 Qs

Cuestionario de Sintaxis en Java

Cuestionario de Sintaxis en Java

University

20 Qs

C Programming Quiz - 1

C Programming Quiz - 1

Assessment

Quiz

Engineering

University

Medium

Created by

Chaitanya Chellu

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What language does a computer machine understand?

Unary Language

Binary Language

Ternary Language

None

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Who is the father of C programming

Dennis Ritchie

James Gosling

Guido van Rossum

Bjarne

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Geometric shapes used in flowchart
Start / stop -- (a)
input / output -- (b)
processing / computing -- (c)
decision / condition -- (d)

(a).eclipse
(b).parallelogram
(c).rectangle
(d).rhombus

(a).circle
(b).parallelogram
(c).triangle
(d).rhombus

(a).circle
(b).square
(c).rectangle
(d).triangle

(a).line
(b).octagon
(c).rectangle
(d).square

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is the correct syntax to declare a variable named "age" of integer data type in C?

age int;

var age = int;

integer age;

int age;

5.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is the output of the following C code?
int main()

{

printf("Hello, World!");

return 0;

}

Error / warning

0

Hello, World!

Nothing

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

No.of keywords in C programming ?

30

37

32

33

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is the purpose of the #include directive in C?

To define a new data type

To include header files

To declare a function

To print output to the console

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?