Data Representation & Abstraction MCQs

Topic-wise practice questions for Problem Solving & Analytical Skills. Test your knowledge, check solutions on demand, and pace your preparation.

Zero-leak answer engine • Rate-limited explanations
Practice in Timed Mode
Q11medium
An IoT temperature sensor sends data using a single byte (8 bits) without a sign bit (unsigned). What is the maximum temperature value it can represent?
Q12easy
What is the primary purpose of "Data Abstraction" in software engineering?
Q13easy
Convert the binary number 1011 to decimal.
Q14medium
You need to represent the read, write, and execute permissions of a file. You use a single integer where the bits represent permissions (e.g., Binary 111 means Read, Write, Execute). This technique is known as:
Q15medium
In Object-Oriented Programming, grouping related primitive data types and behaviors into a single Class (like grouping string name, int age into a Student class) is an example of:
Q16hard
(Code Output / Logic) Consider the following pseudocode utilizing floating-point numbers:

float x = 0.1
float y = 0.2
float z = 0.3
if ((x + y) == z):
    print("Equal")
else:
    print("Not Equal")
In most modern programming languages (Java, Python, C++), what is printed?
Q17medium
What does the term "Endianness" (Big-Endian vs Little-Endian) refer to in computer science?
Q18hard
(Debugging / Casting) Trace the following pseudocode:

int a = 5
int b = 2
float result = a / b
print(result)
What is the likely output in languages like Java or C++?