Save
Computer science
Algorithm
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
aliyahh
Visit profile
Cards (54)
What is an algorithm?
Step by step, ordered
instructions
to solve a
problem
or complete a
task.
View source
How is a recipe related to an algorithm?
A recipe is an example of an algorithm as it provides ordered instructions to complete a task.
View source
What is input in the context of computing?
Data provided to a computer or
software
program from a user or the outside world.
View source
What is output in computing?
Data provided by a computer, such as
text
, images, sound, or video.
View source
What is a variable in programming?
A
container
used to store a single
value
that can change while the program is
running
.
View source
What does an if statement do in a program?
It allows the program to select an
alternative
pathway based on a
condition.
View source
What is the purpose of a for loop in programming?
A for loop allows the program to repeat
instructions
a set number of times.
View source
How does a while loop function in a program?
A while loop repeats instructions while a given
condition
is true.
View source
What is a subprogram?
Small programs written within a larger
main program
to perform a
specific
task.
View source
What is hardware in computing?
Physical
components
of a
computer
, including internal and external
components.
View source
What is software?
Programs or applications that run on hardware, such as Microsoft Word.
View source
What is an input device?
A device used to enter data into a computer, which can be manual or automatic.
View source
What is an output device?
A device that shares data
processed
by a computer with
users
, such as a monitor.
View source
What does the CPU do in a computer?
It is responsible for processing all
instructions
.
View source
What is RAM used for in a computer?
It is used to temporarily store a copy of all open programs and files.
View source
What is secondary storage in computing?
Hardware
used to permanently store all open programs and files, such as
HDD
.
View source
What is a variable in programming?
A named
memory location
.
View source
What is the purpose of a variable in a program?
To
temporarily
store a
single
value.
View source
Can the value of a variable be changed while a program is running?
Yes
, it
can
be
changed.
View source
What is a constant in programming?
A named
memory location
used to
temporarily
store a single value
View source
What does a constant temporarily store?
A single
value
View source
Can the value of a constant be changed while the program is running?
No, it cannot be changed
View source
What happens to the value of a constant during program execution?
It
remains
unchanged
View source
What does a data type describe?
It describes the
characteristics
of a data item.
View source
How does a data type influence data operations?
It determines the kind of operations that can be
carried
out on data.
View source
Which operations can you perform on an integer?
You can perform
mathematical
operations.
View source
Which operations can you perform on a float?
You
can
perform
mathematical
operations.
View source
What
operation can you perform on a string?

You can perform concatenation.
View source
What does hardware refer to in computing?
Physical
components
of a
computer.
View source
What is a peripheral device?
A
computing device
responsible for
input
,
output
, and/or
secondary storage.
View source
What is an input device?
A
peripheral device
used to enter data into a
computer
.
View source
What is an output device?
A
peripheral device
that shares data
processed
by a computer with users.
View source
What is software?
Programs
written
in
programming languages
that
run
on
computing systems.
View source
What is a general-purpose computer?
A computer capable of running many different programs, typically
simultaneously
.
View source
What is an embedded system?
A small
low-cost
computing system built into a larger device to perform specific tasks.
View source
What are the benefits of embedded systems?
Speed,
reliability
, easy and cheap to
manufacture
, and low power
consumption
.
View source
What is main memory also known as?
RAM
(
Random Access Memory
).
View source
What is secondary storage?
Long-term,
non-volatile
storage of programs and data.
View source
What is the role of the Central Processing Unit (CPU)?
Responsible for processing instructions using the
Fetch-Execute Cycle
.
View source
What is the Fetch-Execute Cycle?
A continuous process performed by the
CPU
to fetch, decode, and execute
instructions
.
View source
See all 54 cards