Table of Contents
MCQ Quiz - Class 8 - Programming
🔒 Please log in to unlock this course.
Home & Online Tuition
Learn from an experienced tutor with personalized guidance.
Available Locations
Hatiara
Baguiati
Noapara
Chinar Park
Others - Online
Expert Home & Online Tuition
Personalized one-to-one tuition that focuses on concept building, practical learning, problem-solving skills, and excellent academic performance. Suitable for school students looking for structured, interactive, and result-oriented learning.
Subjects We Teach
Computer Science
Programming
Java
Python
HTML
CSS
JavaScript
PHP
MySQL
SQL
Why Choose Our Tuition?
✅ One-to-One Attention
✅ Concept-Based Learning
✅ Practical Examples
✅ Weekly Tests
✅ Doubt Solving Sessions
✅ Concept-Based Learning
✅ Practical Examples
✅ Weekly Tests
✅ Doubt Solving Sessions
✅ Printed & PDF Notes
✅ Practice Worksheets
✅ MCQ & Assignments
✅ Exam Preparation
✅ Flexible Class Timings
✅ Practice Worksheets
✅ MCQ & Assignments
✅ Exam Preparation
✅ Flexible Class Timings
1:1
Personal Guidance100%
Concept ClarityWeekly
AssessmentsOnline + Home
Learning ModesMCQ Section
MCQ 1
Programming means:
Locked. Enroll to open this MCQ.
MCQ 2
A program is a set of:
Locked. Enroll to open this MCQ.
MCQ 3
Which is a programming language?
Locked. Enroll to open this MCQ.
MCQ 4
The person who writes programs is called:
Locked. Enroll to open this MCQ.
MCQ 5
Programming helps in:
Locked. Enroll to open this MCQ.
MCQ 6
Which is a component of a program?
Locked. Enroll to open this MCQ.
MCQ 7
Which is NOT a component of a program?
Locked. Enroll to open this MCQ.
MCQ 8
Comments are used to:
Locked. Enroll to open this MCQ.
MCQ 9
Instructions in a program are executed by:
Locked. Enroll to open this MCQ.
MCQ 10
Which is a valid program component?
Locked. Enroll to open this MCQ.
MCQ 11
Identifiers can contain:
Locked. Enroll to open this MCQ.
MCQ 12
Identifiers should NOT start with:
Locked. Enroll to open this MCQ.
MCQ 13
Which is a valid identifier?
Locked. Enroll to open this MCQ.
MCQ 14
Are identifiers case-sensitive in Java?
Locked. Enroll to open this MCQ.
MCQ 15
Which of these is a reserved keyword?
Locked. Enroll to open this MCQ.
MCQ 16
A variable is:
Locked. Enroll to open this MCQ.
MCQ 17
In Java, int x = 5; x is a:
Locked. Enroll to open this MCQ.
MCQ 18
Which is a valid variable name?
Locked. Enroll to open this MCQ.
MCQ 19
The value of a variable can:
Locked. Enroll to open this MCQ.
MCQ 20
int marks = 85; is a:
Locked. Enroll to open this MCQ.
MCQ 21
int in Java stores:
Locked. Enroll to open this MCQ.
MCQ 22
Which stores decimal numbers?
Locked. Enroll to open this MCQ.
MCQ 23
boolean stores:
Locked. Enroll to open this MCQ.
MCQ 24
char stores:
Locked. Enroll to open this MCQ.
MCQ 25
Which is used for text of multiple characters?
Locked. Enroll to open this MCQ.
MCQ 26
Which is an arithmetic operator in Java?
Locked. Enroll to open this MCQ.
MCQ 27
The result of 10 / 3 in Java (int) is:
Locked. Enroll to open this MCQ.
MCQ 28
% operator returns:
Locked. Enroll to open this MCQ.
MCQ 29
The result of 10 % 3 is:
Locked. Enroll to open this MCQ.
MCQ 30
Which operator is used for multiplication?
Locked. Enroll to open this MCQ.
MCQ 31
Assignment operator in Java is:
Locked. Enroll to open this MCQ.
MCQ 32
int x = 5; here = is:
Locked. Enroll to open this MCQ.
MCQ 33
x += 5 is same as:
Locked. Enroll to open this MCQ.
MCQ 34
A simple Java program starts with:
Locked. Enroll to open this MCQ.
MCQ 35
Java's main method signature is:
Locked. Enroll to open this MCQ.
MCQ 36
To print in Java, we use:
Locked. Enroll to open this MCQ.
MCQ 37
Java programs are saved with extension:
Locked. Enroll to open this MCQ.
MCQ 38
Statements in Java end with:
Locked. Enroll to open this MCQ.
MCQ 39
Java source code is converted into:
Locked. Enroll to open this MCQ.
MCQ 40
Which tool compiles Java code?
Locked. Enroll to open this MCQ.
MCQ 41
Bytecode is executed by:
Locked. Enroll to open this MCQ.
MCQ 42
Bytecode file has extension:
Locked. Enroll to open this MCQ.
MCQ 43
Java's compilation is:
Locked. Enroll to open this MCQ.
MCQ 44
To run a Java program, we use:
Locked. Enroll to open this MCQ.
MCQ 45
Bytecode is interpreted by:
Locked. Enroll to open this MCQ.
MCQ 46
JVM stands for:
Locked. Enroll to open this MCQ.
MCQ 47
During execution, values are stored in:
Locked. Enroll to open this MCQ.
MCQ 48
Output of a Java program appears in:
Locked. Enroll to open this MCQ.
MCQ 49
Which class is used for input in Java?
Locked. Enroll to open this MCQ.
MCQ 50
Scanner is imported from:
Locked. Enroll to open this MCQ.
MCQ 51
System.out.println() is used for:
Locked. Enroll to open this MCQ.
MCQ 52
System.out.print() differs from println() because:
Locked. Enroll to open this MCQ.
MCQ 53
Reading integer input uses:
Locked. Enroll to open this MCQ.
MCQ 54
The if statement is used for:
Locked. Enroll to open this MCQ.
MCQ 55
Condition inside if must evaluate to:
Locked. Enroll to open this MCQ.
MCQ 56
Which is a correct if statement?
Locked. Enroll to open this MCQ.
MCQ 57
if executes body when condition is:
Locked. Enroll to open this MCQ.
MCQ 58
if-else is used when:
Locked. Enroll to open this MCQ.
MCQ 59
In if-else, else runs when if condition is:
Locked. Enroll to open this MCQ.
MCQ 60
Correct syntax:
Locked. Enroll to open this MCQ.
MCQ 61
The else block is:
Locked. Enroll to open this MCQ.
MCQ 62
How many else blocks are allowed in one if?
Locked. Enroll to open this MCQ.
MCQ 63
else-if ladder is used for:
Locked. Enroll to open this MCQ.
MCQ 64
Execution stops at:
Locked. Enroll to open this MCQ.
MCQ 65
If none of the conditions match, execution goes to:
Locked. Enroll to open this MCQ.
MCQ 66
Grading system is a good example of:
Locked. Enroll to open this MCQ.
MCQ 67
Correct chain form is:
Locked. Enroll to open this MCQ.
MCQ 68
Missing semicolon in Java is a:
Locked. Enroll to open this MCQ.
MCQ 69
Dividing by zero at runtime is a:
Locked. Enroll to open this MCQ.
MCQ 70
Program compiles but gives wrong output. Type of error?
Locked. Enroll to open this MCQ.
MCQ 71
Undeclared variable error is a:
Locked. Enroll to open this MCQ.
MCQ 72
Best way to avoid errors is:
Locked. Enroll to open this MCQ.
MCQ 73
Program to find sum uses:
Locked. Enroll to open this MCQ.
MCQ 74
Program to find greater of two uses:
Locked. Enroll to open this MCQ.
MCQ 75
Program to check even/odd uses:
Locked. Enroll to open this MCQ.
MCQ 76
Program to find largest of 3 uses:
Locked. Enroll to open this MCQ.
MCQ 77
Reading input requires:
Locked. Enroll to open this MCQ.
MCQ 78
Which of these is a keyword in Java?
Locked. Enroll to open this MCQ.
MCQ 79
String in Java is:
Locked. Enroll to open this MCQ.
MCQ 80
int average = (a+b)/2; is:
Locked. Enroll to open this MCQ.
MCQ 81
Which is a valid identifier?
Locked. Enroll to open this MCQ.
MCQ 82
System.out.println prints:
Locked. Enroll to open this MCQ.
MCQ 83
Java is a:
Locked. Enroll to open this MCQ.
MCQ 84
Which stores true/false?
Locked. Enroll to open this MCQ.
MCQ 85
Which operator is for equality?
Locked. Enroll to open this MCQ.
MCQ 86
Which method reads integer input?
Locked. Enroll to open this MCQ.
MCQ 87
Which is NOT a primitive type in Java?
Locked. Enroll to open this MCQ.
MCQ 88
Define a variable.
Locked. Enroll to open this MCQ.
MCQ 89
Name a Java data type.
Locked. Enroll to open this MCQ.
MCQ 90
How do you print in Java?
Locked. Enroll to open this MCQ.
MCQ 91
Java program is saved with extension:
Locked. Enroll to open this MCQ.
MCQ 92
What is Java bytecode?
Locked. Enroll to open this MCQ.
MCQ 93
Java code is written in files with extension:
Locked. Enroll to open this MCQ.
MCQ 94
Java code is first converted to:
Locked. Enroll to open this MCQ.
MCQ 95
Java runs on:
Locked. Enroll to open this MCQ.
MCQ 96
Statements end with:
Locked. Enroll to open this MCQ.
MCQ 97
Java is:
Locked. Enroll to open this MCQ.