Types of Programming Languages - Quiz2

Types of Programming Languages - Quiz2

University

25 Qs

quiz-placeholder

Similar activities

Fintech

Fintech

University

20 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

CN_Minor2

CN_Minor2

University

20 Qs

Information Management - QUIZ

Information Management - QUIZ

University

20 Qs

LINKEDLIST- DSA -2-3

LINKEDLIST- DSA -2-3

University

20 Qs

Midterm InfoTech2

Midterm InfoTech2

University

20 Qs

PRELIM-SW2

PRELIM-SW2

University

20 Qs

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Types of Programming Languages - Quiz2

Types of Programming Languages - Quiz2

Assessment

Quiz

Computers

University

Medium

Created by

Rommel Sario

Used 8+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is considered the closest to the computer’s hardware?

Python

C++

Assembly Language

Java

Answer explanation

  • Assembly language is a low-level language that directly represents machine code, allowing direct interaction with the hardware.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT true about Machine Language?

It is the native language of computers

It consists of binary digits (0s and 1s)

It is easy for humans to write and understand

It executes very quickly

Answer explanation

  • Machine language is very difficult for humans to write and understand because it consists only of binary digits.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is required to convert assembly code into machine code?

Compiler

Interpreter

Assembler

Virtual Machine

Answer explanation

An assembler translates assembly code into machine code so that it can be executed by the processor.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a feature of machine code?

It uses symbolic representation for readability

It is written in binary or hexadecimal format

It needs an assembler to run on a CPU

It can be easily debugged by humans

Answer explanation

Machine code is made up of raw binary or hexadecimal instructions that are directly executed by the CPU.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a notable use of the C programming language?

Web development

Systems programming

Device drivers

Game development

Answer explanation

C is commonly used for systems programming due to its efficiency and direct interaction with hardware.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which programming paradigm is based on the concept of objects with attributes and behavior?

Procedural programming

Functional programming

Object-oriented programming

Structured programming

Answer explanation

Object-oriented programming (OOP) focuses on real-world entities, with objects containing attributes (data) and behaviors (functions or methods).

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about compiled languages?

The code is translated line by line during runtime.

The entire source code is converted into machine code at once.

No executable file is generated.

The code must be interpreted every time it runs.

Answer explanation

In compiled languages, the source code is translated into machine code all at once using a compiler, generating an executable file.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?