
Basic C Programming - Data Types

Quiz
•
Education
•
12th Grade
•
Hard
Hafizul Hasmie
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of values that can be stored in an 'int' data type?
-2,147,483,647 to 2,147,483,648
-2,147,483,648 to 2,147,483,648
-2,147,483,647 to 2,147,483,647, 2,147,483,648
-2,147,483,648 to 2,147,483,647
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store decimal numbers in C?
int
float
double
char
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many bytes are occupied by a 'char' data type in C?
2
1
4
8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyword used to declare a floating-point variable in C?
decimal
double
real
float
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of a 'float' data type in C?
16 bytes
8 bytes
4 bytes
2 bytes
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store single characters in C?
char
int
float
string
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of values that can be stored in a 'short int' data type?
-16,384 to 16,383
-65,536 to 65,535
-128 to 127
-32,768 to 32,767
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Python (1-2 урок)

Quiz
•
1st - 12th Grade
12 questions
ASK Tingkatan 1: 2.2.2 Format Imej pada Fail yang Sama

Quiz
•
12th Grade - University
10 questions
book 1 part 9

Quiz
•
3rd Grade - University
10 questions
2021 HSC Multimedia Multiple Choice

Quiz
•
12th Grade
10 questions
Fingerprint Classification

Quiz
•
9th - 12th Grade
11 questions
Maths 1

Quiz
•
7th - 12th Grade
11 questions
Python - Data Types

Quiz
•
12th Grade - University
10 questions
Primera infancia

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade