wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

BASIC PROGRAMMING QUIZ by Group 5

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.
  1. 1. What is programming?

a)

a) Designing hardware

b)

b) Giving a set of instructions to a computer to execute

c)

c) Drawing diagrams

d)

d) Typing documents

2.
  1. 2. Which of the following is the default computer language understood by machines?

a)

a) High-level language

b)

b) Assembly language

c)

c) Machine language

d)

d) Object-oriented language

3.
  1. 3. What does binary code consist of?

a)

a) Alphabets and numbers

b)

b) 1s and 0s

c)

c) Special characters

d)

d) Hexadecimal digits

4.
  1. 4. Who created Java?

a)

a) Patrick Naughton

b)

b) Chris Warth

c)

c) James Gosling

d)

d) Mike Sheridan

5.
  1. 5. In which year was Sun Microsystems acquired by Oracle Corporation?

a)

a) 2000

b)

b) 2005

c)

c) 2010

d)

d) 2015

6.
  1. 6. Which of the following is NOT a feature of Java?

a)

a) Object-oriented

b)

b) Platform-dependent

c)

c) Robust

d)

d) Secure

7.
  1. 7. What does JVM stand for?

a)

a) Java Virtual Model

b)

b) Java Visual Machine

c)

c) Java Virtual Machine

d)

d) Java Version Module

8.
  1. 8. What is bytecode in Java?

a)

a) The compiled form of Java source code

b)

b) The uncompiled source code

c)

c) Machine code

d)

d) An error report

9.
  1. 9. What is the main() method in Java used for?

a)

a) To import libraries

b)

b) To start a Java application

c)

c) To declare variables

d)

d) To comment code

10.
  1. 10. What are variables in programming?

a)

a) Fixed values

b)

b) Containers that store data

c)

c) Program functions

d)

d) Keywords in code