Class 10 Computer Science · Chapter 3 · Test 5
Test 5: Short Questions – Part 2
24 questions · 50 min · 52 marks
Want to try first? Take the free Computer Science test: 94hbp-7gz9m-ufent-tsj4r
Sample questions with answers
The first 5 of 24, each with a model answer. Try writing yours first.
Question 1 · 2 marks
What are operators and operands?
Show model answerHide model answer
Operators are symbols that perform operations on operands (the values or variables they work on).
Question 2 · 2 marks
What is an expression in Python?
Show model answerHide model answer
An expression is a combination of operators and values that produces a result.
Question 3 · 2 marks
Name the arithmetic operators in Python.
Show model answerHide model answer
Addition (+), subtraction (-), multiplication (*), division (/), floor division (//), modulus (%), and exponentiation (**).
Question 4 · 2 marks
If a = 10 and b = 3, what are the results of a / b and a // b?
Show model answerHide model answer
a / b = 3.3333333333333335 (division returns a decimal), while a // b = 3 (floor division).
Question 5 · 2 marks
What are the modulus and power operators? Give the result for a = 10 and b = 3.
Show model answerHide model answer
The modulus operator % gives the remainder: 10 % 3 = 1. The operator is the power operator: 10 3 = 1000.
More tests in Introduction to Python Programming
- Test 1: Introduction, Python Setup and Comments
MCQs · 30 questions · 25 min · 30 marks
- Test 2: Variables, Input/Output and Operators
MCQs · 30 questions · 25 min · 30 marks
- Test 3: Complete Chapter Review
MCQs · 30 questions · 25 min · 30 marks
- Test 4: Short Questions – Part 1
Short questions · 23 questions · 50 min · 47 marks
- Test 6: Long Questions
Long questions · 9 questions · 50 min · 61 marks
Practise with a free account
Save your scores, see which chapters need work, and keep a notebook of every question you got wrong.