
Seminar1_EDA25
Quiz
•
Computers
•
University
•
Practice Problem
•
Medium
ARNAU BLANCO
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare a variable in C?
int a = 5;
a = 5;
integer a = 5;
declare int a;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of value does `int a = 5;` store by default in C?
An unsigned integer
A signed integer
A decimal number
A character
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does `int a = 4 % 2;` store?
Hint: Remember `%` is the modulus operator.
0
1
2
3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the binary representation of the decimal number 4?
1
10
11
100
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does `int a = 1 << 3;` return in binary?
1
100
1000
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If 2 is 10 in binary, what will `int a = 2 >> 1;" return in binary?
10
100
1
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given the following code, how do you declare a variable of type Point?
struct Point {
int x;
int y;
};
A) Point p;
B) struct Point p;
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
12 questions
Quizz Internet
Quiz
•
KG - Professional Dev...
15 questions
tik kelas 7
Quiz
•
1st Grade - University
15 questions
Dasar Desain Grafis
Quiz
•
12th Grade - University
10 questions
Herencia y Paquetes
Quiz
•
University
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
10 questions
Semiconductores
Quiz
•
University
10 questions
UX Design
Quiz
•
University
15 questions
After Effect Intoduction
Quiz
•
10th Grade - 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
