
Lab 2 Activity
Authored by Saif Eldeen Radwan
Other
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first line of a C program that includes the standard I/O library?
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a basic component of a C program?
Preprocessor commands
Functions
Variables
HTML tags
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax for declaring an integer variable in C?
int var;
integer var;
var int;
variable int;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store floating-point numbers in C?
int
char
float
void
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following statement?
printf("Hello World!");
HelloWorld!
Hello World!
"Hello World!"
Compilation Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which format specifier is used to read an integer input in C?
%d
%c
%f
%s
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of a signed 2-byte integer in C?
0 to 65535
-32768 to 32767
-65535 to 65535
-127 to 128
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?
Similar Resources on Wayground
10 questions
Logic Pro X - 101
Quiz
•
2nd Grade - University
10 questions
Data Types in C++
Quiz
•
University
10 questions
TÍN NGƯỠNG NGƯ ÔNG
Quiz
•
University
15 questions
1ERA EVALUACIÓN
Quiz
•
University
14 questions
Համո Սահյան,Վիլյամ Սարոյան
Quiz
•
University
10 questions
Quiz on Report Writing and Feedback
Quiz
•
7th Grade - University
7 questions
ARMY >BTS<
Quiz
•
12th Grade - Professi...
10 questions
Diyabet
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University