Programming Languages Classification
18 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is a characteristic of Low-Level Programming Languages?

  • Platform independent
  • High-level abstraction
  • Machine understandable (correct)
  • Easy to learn and understand

What is an advantage of using Low-Level Programming Languages?

  • High-level abstraction
  • Memory efficient (correct)
  • Easy to write and debug
  • Platform independent

Which of the following is NOT a characteristic of Low-Level Programming Languages?

  • Hardware specific
  • Machine understandable
  • Memory efficient
  • Easy to learn and understand (correct)

What is the main difference between Low-Level and High-Level Programming Languages?

<p>Level of abstraction (D)</p> Signup and view all the answers

What is an example of a Low-Level Programming Language?

<p>Assembly Language (B)</p> Signup and view all the answers

Why are programs written in Low-Level Programming Languages hard to port?

<p>Because they are platform dependent (C)</p> Signup and view all the answers

What is a characteristic of declarative languages?

<p>They describe what the program should accomplish without specifying the steps (D)</p> Signup and view all the answers

Which programming paradigm is concerned with specifying rules and facts to answer a question?

<p>Logic programming (D)</p> Signup and view all the answers

What is an example of a general-purpose language?

<p>Python (C)</p> Signup and view all the answers

What occurs in compiled languages?

<p>Code is translated into machine code before execution (A)</p> Signup and view all the answers

Which type of language is Haskell an example of?

<p>Functional programming language (B)</p> Signup and view all the answers

What type of language is SQL an example of?

<p>Domain-specific language (DSL) (B)</p> Signup and view all the answers

What is a characteristic of high-level programming languages?

<p>They are easy to read and understand by humans (B)</p> Signup and view all the answers

What is the main focus of imperative programming paradigm?

<p>Describing how the program should achieve its goal (B)</p> Signup and view all the answers

What is an advantage of high-level programming languages?

<p>They use less system resources and may run slower than low-level languages (D)</p> Signup and view all the answers

What is an example of a procedural programming language?

<p>Pascal (A)</p> Signup and view all the answers

What is the main difference between high-level and low-level programming languages?

<p>High-level languages are more portable (C)</p> Signup and view all the answers

What is the main characteristic of object-oriented programming languages?

<p>They organize code around objects and data (B)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser