stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Programming Fundamentals Flashcards | StudBud
Explore
/
Programming Fundamentals
Programming Fundamentals
15 terms
·
StudBud Administration
·
24 plays
Imported from external platform
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
Which of the following programming languages is considered a high-level language?
Machine language
Assembly language
Binary
C
2
What is machine language?
A high-level programming language
A set of instructions in binary code directly executed by the CPU
A programming paradigm
A type of compiler
3
What is the role of the "else" statement in an "if-else" construct?
It specifies an alternative condition for the "if" statement
It ends the program execution
It repeats the code block.
It declares a variable.
4
In programming, what does the term "bug" refer to?
A type of Data Structure
A feature of the programming language
An error or flaw in the code
An insect on the computer screen
5
What does the term "syntax error" refer to in programming?
An error in variable naming
An error in runtime
An error in logic
An error in code structure or format
6
In programming, what does the acronym "IDE" stand for?
Integrated Development Environment
Intelligent Design Engine
Integrated Design Element
Interactive Development Environment
7
Which of the following is not a primitive data type in most programming languages?
Integer
Array
Boolean
String
8
What is the primary advantage of using a high-level programming language over a low-level language?
Smaller file sizes
Greater efficiency in execution
Improved readability and ease of use
More direct control over hardware
9
What is the result of the expression 5 + 3 * 2?
26
13
11
16
10
What is the purpose of the "return" statement in a function?
To specify the data type of the function
To stop the execution of the function
To define a function
To return a value from the function
11
What is the purpose of a loop in programming?
To define functions
To repeat a block of code
To make decisions
To declare variables
12
What is the purpose of the "while" loop in programming?
To repeat a block of code as long as a condition is true
To declare variables
To make a decision based on a condition
To define a function
13
Which programming paradigm focuses on breaking down a program into smaller, reusable parts known as objects?
Procedural programming
Object-Oriented programming
Declarative Programming
Functional programming
14
In the context of computer memory, what is a binary digit known as?
Byte
Bit
Megabyte
Kilobyte
15
What is the purpose of a variable in programming?
To store and manage data
To perform mathematical operations
To create loops
To display output on the screen