Simple Programming Quiz

Simple Programming Quiz

University

10 Qs

quiz-placeholder

Similar activities

Introduction to Programming

Introduction to Programming

University

10 Qs

4.2 Types of Programming Language, Translators, and Integrated D

4.2 Types of Programming Language, Translators, and Integrated D

10th Grade - University

11 Qs

Principles of Programming

Principles of Programming

KG - University

13 Qs

Introduction To Programming

Introduction To Programming

University

10 Qs

4.4 Types of programming language

4.4 Types of programming language

9th Grade - University

14 Qs

DFC10042 - Activity C1_DDT1E

DFC10042 - Activity C1_DDT1E

University

10 Qs

Compiler

Compiler

University

15 Qs

Introduction to Computer Programming

Introduction to Computer Programming

6th Grade - University

10 Qs

Simple Programming Quiz

Simple Programming Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Afrah Samreen

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a programming language?

A tool for designing hardware

A way to communicate with a computer

A device for storing data

A machine-learning algorithm

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of a compiler?

To store data

To translate code into machine language

To execute a program

To print results

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which stage in program translation checks for grammar errors?

Lexical analysis

Syntax analysis

Code generation

Optimization

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a high-level programming language?

A language that directly controls hardware

A language easy for humans to read and write

A type of machine code

A language that runs without a compiler

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of lexical analysis?

Tokens

Machine code

Executable files

Error messages

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an example of a procedural programming language?

Python

Java

C

HTML

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of an interpreter?

To execute code line by line

To convert high-level code into machine code

To optimize the code

To manage hardware resources

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?