
C Programming Quiz - 1
Authored by Chaitanya Chellu
Engineering
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?