stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
10. Tech+ Coding Flashcards | StudBud
Explore
/
10. Tech+ Coding
10. Tech+ Coding
28 terms
·
StudBud Administration
·
13 plays
Imported from external platform
Flashcards
28 cards
F
Practice quiz
P
Host live
L
Questions
28
Answers
1
In pseudocode, what does the symbol || represent?
Logical OR
Logical AND
Logical NOT
Logical XOR
2
What is the main purpose of a flowchart in programming?
To show the flow (sequence) of logic in a program
To design the user interface of the program
To test the program for errors
To write the actual code of the program
3
Which of the following is an example of an integer?
4.1
23
9.95
4
Why is code written in assembly language more efficient?
It is written in binary.
It is a high-level language.
It allows direct access to hardware.
5
What happens when you enter a number as a character?
You can perform math operations with it.
You cannot perform math operations with it.
It becomes a string.
It gets deleted.
6
What is a variable in a computer program?
A container that holds data for use later
A fixed value that never changes
7
What makes it easier for humans to read and write instructions for computers?
Hardware
Binary code
Programming languages
Machine language
8
What is a function call in programming?
A command to run another part of the program and return
A command to stop the program
9
What does the term "syntax" refer to in computer programming?
The type of computer used to run the program.
The color scheme of the code editor.
The rules for how to write the language.
The speed at which a program runs.
10
What is a programming language?
A type of computer hardware.
A way to communicate with other programmers.
A set of instructions programmers use to write code.
A method for designing websites.
11
Which Boolean operation returns True only if both conditions are True?
AND
NOT
OR
XOR
12
Which of the following is an example of a string?
7
$
@
Hello world
13
What do you put inside the parentheses when using a function?
The function's definition
The function's return value
The function's name
The arguments or values the function needs to process
14
What is the main purpose of a compiler in compiled programming languages?
To convert the code into machine language
To directly execute the code written by the programmer
To save the code as a text file
15
What is a class in object-oriented programming (OOP)?
A specific instance of an object.
A variable that stores data
A method that an object can perform.
A blueprint or template for creating objects.
16
What is an array?
A special type of variable that holds many values at once
A type of loop
17
What is a runtime engine?
tool that interprets bytecode into the computer's specific machine language
A tool that compiles code into machine language
18
What is debugging?
Deleting old code
Fixing mistakes in code
19
What is the main purpose of query languages?
To write stories
To design computer games
To create websites
To get information from databases
20
What is the main purpose of pseudocode?
To describe what the code will do using plain language
To write the final code for a program
21
What keyword is used in pseudocode to represent a loop with a condition at its beginning?
WHILE
CASE
FOR
REPEAT-UNTIL
22
What is a function in programming?
A comment that explains the code
A variable that stores data
A piece of code that does one specific job
A loop that repeats a block of code
23
What should be done before starting to code a program?
Decide what the program will look like.
Write as much code as possible.
Ignore planning and start coding immediately.
Decide what the program should do.
24
What is an interpreted language?
A language that is only used for web development
A language that runs instructions in the source code when you run the app
25
Which of the following is an example of a character variable?
'7'
3.14
False
"867-5309"
26
What is branching in computer programming?
way to store data in a program
A technique to speed up a program
method to execute a different sequence of instructions based on a condition
27
What does a diamond shape in a flowchart indicate?
A decision point
The start or end of a program
Input or output
A process
28
What is one advantage of interpreted languages?
They turn source code into binary ahead of time.
They are faster than compiled languages.
They are platform-independent.
They have limited access to system resources.