D615 Foundations of Coding Questions with
Verified Correct Answers
Algorithm
A set of steps to solve a problem
Variable
Storage for data
Input
Getting data into a program
Output
Sending data out
Process
Handling or manipulating data
Python
Programming language
Control Structure
Controls flow of execution
Loop
Repeated execution block
If Statement
Conditional execution block
, Syntax Error
Mistake in structure
Runtime Error
Mistake during program running
Logic Error
Mistake in logic, not structure
SQL
Language for querying databases
Database
Organized data collection
Table
Storage for data in databases
Primary Key
Unique identifier in a table
Foreign Key
Links to a primary key in another table
SELECT statement
Retrieves data from a database
WHERE clause
Filters query results
Verified Correct Answers
Algorithm
A set of steps to solve a problem
Variable
Storage for data
Input
Getting data into a program
Output
Sending data out
Process
Handling or manipulating data
Python
Programming language
Control Structure
Controls flow of execution
Loop
Repeated execution block
If Statement
Conditional execution block
, Syntax Error
Mistake in structure
Runtime Error
Mistake during program running
Logic Error
Mistake in logic, not structure
SQL
Language for querying databases
Database
Organized data collection
Table
Storage for data in databases
Primary Key
Unique identifier in a table
Foreign Key
Links to a primary key in another table
SELECT statement
Retrieves data from a database
WHERE clause
Filters query results