Cards Flashcards
What does IDE stand for?
Integrated Development Environment
True or False: An IDE typically includes a code editor, debugger, and build automation tools.
True
Fill in the blank: An IDE helps programmers write, test, and ______ code.
debug
Name one popular IDE for Python programming.
PyCharm
What is the primary purpose of a compiler?
To translate source code into machine code.
True or False: An interpreter executes code line by line.
True
Which language is primarily used for web development?
JavaScript
What does syntax refer to in programming languages?
The set of rules that defines the combinations of symbols that are considered to be correctly structured programs.
Name two features commonly found in IDEs.
Code completion and syntax highlighting.
What is the difference between a high-level language and a low-level language?
High-level languages are more abstract and easier for humans to read, while low-level languages are closer to machine code.
Which of the following is a low-level programming language: Assembly, Python, or Java?
Assembly
What is source code?
The human-readable instructions written in a programming language.
Fill in the blank: A ______ is a set of instructions that a computer can execute.
program
True or False: Debugging is the process of finding and fixing errors in code.
True
What is the purpose of a debugger?
To test and debug programs by allowing the programmer to inspect variables and control the execution flow.
Fill in the blank: Java is an example of a ______ programming language.
object-oriented
True or False: Python is a compiled language.
False
What is the main benefit of using an IDE?
It increases productivity by providing tools that streamline the coding process.
Fill in the blank: The ______ is the part of an IDE where code is written.
editor
True or False: APIs allow different software programs to communicate with each other.
True
What is the role of a build tool?
To automate the creation of executable applications from source code.
Name one build tool commonly used in Java projects.
Maven
What does ‘syntax error’ mean?
An error that occurs when the code does not conform to the syntax rules of the programming language.
Fill in the blank: A ______ is a type of software that helps to manage the execution of programs.
runtime environment
What is the purpose of comments in code?
To explain and annotate the code for better understanding by humans.
True or False: Comments are executed by the compiler or interpreter.
False
What is a script in programming?
A file containing a sequence of instructions that are executed by an interpreter.
What is the purpose of a library in programming?
To provide pre-written code that developers can use to save time.
True or False: All programming languages can be classified as either compiled or interpreted.
True
What is a variable in programming?
A storage location identified by a name that can hold data.
What does ‘data type’ refer to?
The classification of data that tells the compiler or interpreter how the programmer intends to use the data.
Fill in the blank: In Python, the command to print output to the console is ______.
print()
True or False: A loop is used to execute a block of code multiple times.
True
What is an algorithm?
A step-by-step procedure for solving a problem or accomplishing a task.