Cards Flashcards

1
Q

What does IDE stand for?

A

Integrated Development Environment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: An IDE typically includes a code editor, debugger, and build automation tools.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fill in the blank: An IDE helps programmers write, test, and ______ code.

A

debug

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name one popular IDE for Python programming.

A

PyCharm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the primary purpose of a compiler?

A

To translate source code into machine code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False: An interpreter executes code line by line.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which language is primarily used for web development?

A

JavaScript

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does syntax refer to in programming languages?

A

The set of rules that defines the combinations of symbols that are considered to be correctly structured programs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Name two features commonly found in IDEs.

A

Code completion and syntax highlighting.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the difference between a high-level language and a low-level language?

A

High-level languages are more abstract and easier for humans to read, while low-level languages are closer to machine code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following is a low-level programming language: Assembly, Python, or Java?

A

Assembly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is source code?

A

The human-readable instructions written in a programming language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Fill in the blank: A ______ is a set of instructions that a computer can execute.

A

program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: Debugging is the process of finding and fixing errors in code.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the purpose of a debugger?

A

To test and debug programs by allowing the programmer to inspect variables and control the execution flow.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Fill in the blank: Java is an example of a ______ programming language.

A

object-oriented

17
Q

True or False: Python is a compiled language.

18
Q

What is the main benefit of using an IDE?

A

It increases productivity by providing tools that streamline the coding process.

19
Q

Fill in the blank: The ______ is the part of an IDE where code is written.

20
Q

True or False: APIs allow different software programs to communicate with each other.

21
Q

What is the role of a build tool?

A

To automate the creation of executable applications from source code.

22
Q

Name one build tool commonly used in Java projects.

23
Q

What does ‘syntax error’ mean?

A

An error that occurs when the code does not conform to the syntax rules of the programming language.

24
Q

Fill in the blank: A ______ is a type of software that helps to manage the execution of programs.

A

runtime environment

25
Q

What is the purpose of comments in code?

A

To explain and annotate the code for better understanding by humans.

26
Q

True or False: Comments are executed by the compiler or interpreter.

27
Q

What is a script in programming?

A

A file containing a sequence of instructions that are executed by an interpreter.

28
Q

What is the purpose of a library in programming?

A

To provide pre-written code that developers can use to save time.

29
Q

True or False: All programming languages can be classified as either compiled or interpreted.

30
Q

What is a variable in programming?

A

A storage location identified by a name that can hold data.

31
Q

What does ‘data type’ refer to?

A

The classification of data that tells the compiler or interpreter how the programmer intends to use the data.

32
Q

Fill in the blank: In Python, the command to print output to the console is ______.

33
Q

True or False: A loop is used to execute a block of code multiple times.

34
Q

What is an algorithm?

A

A step-by-step procedure for solving a problem or accomplishing a task.