
#include <\c>
Authored by SALIN SHAIN
Computers
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a valid C variable name?
int num1;
int num_1;
int $num1;
int num;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is an example of iteration in C?
for
while
do-while
all of these
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
scanf() is a predefined function in______header file.
stdlib. h
ctype. h
stdio. h
stdarg. h
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
what is the output of the following code snippet?
10
20
Error
None of these
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the characteristics of an algorithm?
Feasibility
Finiteness
Unambiguous
All of these
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
what is the output of the following code snippet?
4 6 2
2 4 6
2 2 4
4 6 6
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
what is the output of the following code snippet?
10
0
10 10 10 10....(infinity loop)
error
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?