Skip to main content

Introduction to Computing MCQs with Answers

Practice important Introduction to Computing MCQs with answers and explanations.

Multiple Choice Questions

Q1701: What does the term "data type" refer to in programming?
  • A: A variable's memory address
  • B: A variable's initial value
  • C: The manner in which data is encoded and operations on it
  • D: The variable's scope in the program
View Answer
C

Q1702: Which of the following is an example of a primitive data type?
  • A: Integer
  • B: String
  • C: Audio
  • D: Hypertext
View Answer
A

Q1703: Fill in the blank: The data type _______ refers to numeric data consisting of whole numbers.
  • A: float
  • B: integer
  • C: character
  • D: boolean
View Answer
B

Q1704: What does the data type "float" refer to in programming?
  • A: Whole numbers
  • B: Boolean values
  • C: Numeric data that might contain decimal points
  • D: Text strings
View Answer
C

Q1705: Which statement correctly declares a variable of type integer in C++?
  • A: int WeightLimit = 100;
  • B: int WeightLimit
  • C: int = 100;
  • D: integer WeightLimit = 100;
View Answer
A

Q1706: Fill in the blank: In dynamically typed languages like Python, variables can be assigned _______ declaring their type.
  • A: before
  • B: after
  • C: without
  • D: by
View Answer
C

Q1707: What is the primary difference between a variable of type "integer" and one of type "float"?
  • A: Storage location
  • B: Allowed operations
  • C: Presence of decimal points
  • D: Both are the same
View Answer
C

Q1708: Which data type refers to symbols that are probably stored using ASCII or Unicode?
  • A: integer
  • B: float
  • C: character
  • D: boolean
View Answer
C

Q1709: What operations can be performed on data of type "character"?
  • A: Arithmetic operations
  • B: Logical operations
  • C: Comparison and concatenation
  • D: Memory allocation
View Answer
C

Q1710: Fill in the blank: A variable declared as type Boolean can take on only _______.
  • A: integer values
  • B: true or false values
  • C: character values
  • D: numeric values
View Answer
B

Test Your Knowledge

Take a timed quiz on Introduction to Computing

🚀 Start Quiz Now