Quiz 1 - Intro to C

Quiz
•
Computers, Other
•
University
•
Medium
KU AZIR
Used 24+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Declare an integer variable named num.
float num;
int num;
char num;
double num;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Initialize the variable num to 0.
num == 0;
0
num = 0;
int num = 0;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Read and store the value entered by user to num.
scanf (“%i”, &num);
scanf ("%f", &num);
"%i", #
scanf ("%i", num);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4.Multiply the current value of num into 2 and assign the new value to num.
num =+ 2;
num = num * num;
num = 2 * 2;
num = num * 2;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.Display the value of num.
printf (The value of num is: num);
printf ("The value of num is: %i,);
printf ("The value of num is:%i, num);
printf ("The value of num is: %i, &num);
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Declare a floating points number named val.
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Initialize the variable val to 1.
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
C Quiz

Quiz
•
University
10 questions
Introduction to Computing

Quiz
•
University
12 questions
Printf, scanf

Quiz
•
University
15 questions
C programming

Quiz
•
University
10 questions
I/O STATEMENTS IN C

Quiz
•
University
10 questions
Quiz Input dan Ouput C++

Quiz
•
University
12 questions
Functions C

Quiz
•
University
15 questions
Repaso progrmación 1

Quiz
•
University
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade