
Quiz on Data Types in C

Quiz
•
Education
•
University
•
Hard
NARENDRA BAVISETTI
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid C data type for representing a floating-point number?
int
char
float
bool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an int data type on most 32-bit systems?
1 byte
2 bytes
4 bytes
8 bytes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type would you use to store a single character in C?
char
int
float
double
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of values for an unsigned int in C?
-2,147,483,648 to 2,147,483,647
0 to 4,294,967,295
-128 to 127
0 to 255
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following data types has the highest precision for floating-point numbers?
float
double
long double
int
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of a char data type in C?
1 byte
2 bytes
4 bytes
8 bytes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type should be used to store large integers that exceed the range of int?
short
long
long long
float
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Visual Basic

Quiz
•
University
20 questions
Uces- Simulacro Parcial 1

Quiz
•
University
12 questions
Квіз з програмування: Вказівники та динамічна пам'ять

Quiz
•
University
10 questions
Pop Quiz #2 Topic 2

Quiz
•
University
20 questions
Ujian Semester Pemprograman Dasar

Quiz
•
University
15 questions
Chương 2 - Biểu thức và thao tác cơ bản

Quiz
•
University
10 questions
AD-SESION_4-USA-G35

Quiz
•
University
11 questions
Python Variable and Datatype Quiz

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