What should be done before starting to code a program?
Decide what the program should do.
Ignore planning and start coding immediately.
Decide what the program will look like.
Write as much code as possible.
Explanation
What is the main purpose of a flowchart in programming?
To test the program for errors
To show the flow (sequence) of logic in a program
To design the user interface of the program
To write the actual code of the program
Explanation
What is the main purpose of pseudocode?
To compile the program into machine language
To create a user interface for the program
To describe what the code will do using plain language
To write the final code for a program
Explanation
Why is code written in assembly language more efficient?
It uses a compiler.
It is written in binary.
It allows direct access to hardware.
It is a high-level language.
Explanation
What is an interpreted language?
A language that is only used for web development
A language that runs instructions in the source code whenever you run the application
A language that cannot be used on multiple platforms
A language that converts source code into binary ahead of time
Explanation
What is one advantage of interpreted languages?
They are platform-independent.
They turn source code into binary ahead of time.
They have limited access to system resources.
They are faster than compiled languages.
Explanation
What does the term "syntax" refer to in computer programming?
The speed at which a program runs.
The color scheme of the code editor.
The rules for how to write the language.
Incorrect answer:
The type of computer used to run the program.
Explanation
Which type of data model includes primary keys and foreign keys?
Logical Data Model
Incorrect answer:
Schema Model
Conceptual Data Model
Physical Data Model
Explanation
What is one advantage of local databases?
They offer 99.9% availability
Correct Answer:
They can be accessed faster
They are managed by cloud providers
They reduce the risk of cyber attacks
Explanation
What is a relational database?
A database that stores data in a single table.
A database that only stores text data.
A database that keeps data in several connected tables.
A database that does not use tables at all.
Explanation
What is a foreign key?
A primary key from another table
A key that is used to unlock a database
A key that can be left blank
A key that is always the same as the primary key
Explanation
What is a primary key in a database?
A type of data that can be left blank
A value that can change over time
Correct Answer:
A unique identifier for each record
A common name shared by multiple records
Explanation
What is a database schema?
A type of data storage device
A programming language
A type of software
The architecture of how a database is structured and organized
Explanation
What is the purpose of data modeling?
To help programmers and others understand the complex flow of data within an organization
To create new programming languages
To manage network security
To design hardware components
Explanation
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.