High level programming Flashcards

1
Q

___________ programming languages that provide a level of abstraction from the machine’s hardware.
They are designed to be easy for humans to understand and use, providing features like control structures, data types, and syntax that are more intuitive than low-level programming languages.

A

High-level languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

4 Characteristics of High-level languages

A
  1. Abstraction
  2. Ease of Use
  3. Probability
  4. Rich Libraries and Frameworks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

High-level languages abstract away the details of the computer’s hardware. Programmers do not need to manage memory manually or deal with hardware-specific instructions.

A

Abstraction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

They have syntax and constructs that are easier for humans to understand, write, and debug.
This makes programming more accessible and productive.

A

Ease of Use

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

High-level code can often be compiled or interpreted on different types of hardware with minimal modification.
This makes programs more portable across various platforms.

A

Portability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

They come with extensive libraries and frameworks that simplify complex tasks and speed up development.

A

Rich Libraries and Frameworks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Examples of High-Level Languages

A

• Python
• Java
• C++
• JavaScript
• Ruby

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Known for its readability and simplicity and it is used in web development, data science, artificial intelligence, and more.

A

Python

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

An object-oriented language used for building platform-independent applications, including web and mobile applications.

A

Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

An extension of the C language with object-oriented features, used for system/software development, game development, and performance-critical applications.

A

C++

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Primarily used for web development to create interactive elements on websites.

A

JavaScript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Known for its elegant syntax, it is used in web development, particularly with the Ruby on Rails framework.

A

Ruby

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Basic Concepts in High-Level Language Programming

A
  1. Syntax and Semantics
  2. Variables and Data Types
  3. Control Structures
  4. Functions and Procedures
  5. Object-Oriented Programming (OOP)
  6. Error Handling
  7. Input and Output
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The set of rules that defines the structure of valid statements in the language.

A

Syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The meaning of those statements, or what the statements actually do when executed.

A

Semantics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Named storage locations in memory used to hold data that can be manipulated by the program.

17
Q

Define the kind of data a variable can hold (e.g., integers, floats, strings).

A

Data Types

18
Q

Allow the program to make decisions and execute code based on conditions (e.g., if, else, switch).

A

Conditional Statements

19
Q

Execute a block of code repeatedly based on a condition (e.g., for, while, do-while).

20
Q

Blocks of code designed to perform a specific task. They can take inputs (parameters) and return outputs.

21
Q

Similar to functions but do not necessarily return a value. They perform actions or tasks.

A

Procedures

22
Q

OOP languages use classes as blueprints to create objects, which are instances of classes. Classes encapsulate data (attributes) and methods (functions).

A

Classes and Objects

23
Q

Allows a new class to inherit properties and behavior from an existing class.
o Polymorphism: Enables one interface to be used for a general class of actions.

A

Inheritance

24
Q

Mechanisms for handling runtime errors in a controlled manner. It allow a program to respond to errors without crashing.

A

Exceptions

25
Q

Captures data from users or external sources (e.g., keyboard input, file reading).

26
Q

Displays data to users or writes data to external sources (e.g., screen output, file writing).

27
Q

OOP languages use classes as blueprints to create objects, which are instances of classes. Classes encapsulate data (attributes) and methods (functions).

A

Classes and Objects

28
Q

Allows a new class to inherit properties and behavior from an existing class.

A

Inheritance

29
Q

Enables one interface to be used for a general class of actions.

A

Polymorphism

30
Q

Source code is translated into machine code by a compiler before execution. Examples include C and C++. The compilation process checks for errors and produces an executable file.

A

Compiled Languages

31
Q

Source code is executed line-by-line by an interpreter. Examples include Python and JavaScript. This reads and executes the code directly.

A

Interpreted Languages

32
Q

A software application that provides comprehensive facilities for software development, including code editors, debugging tools, and build automation. Examples include Visual Studio, PyCharm, and Eclipse.

A

Integrated Development Environment (IDE):

33
Q

Simpler tools for writing and editing code, such as Sublime Text or VS Code.
High-level programming languages enable developers to create complex software applications efficiently by providing user-friendly syntax and abstractions that simplify coding tasks. They form the basis for most modern software development.

A

Code Editors