What type of language is translated into machine code at runtime?
What is an Interpreted?
Proper use of what makes code more readable and organized?
What is Whitespace?
A _____________________ variable is one that is declared outside of all functions and can be accessed by any function in the program.
What is a global variable?
What is the main purpose of an IF statement in programming?
What is "to make decisions based on conditions"?
Who is responsible for overseeing the entire project and ensuring team collaboration?
What is a team leader?
What is the primary purpose of using an IDE?
To provide a workspace with tools for writing and testing code?
What is the first step in the software development life cycle?
What is Requirements Analysis?
Which data type is used to store a true or false value?
What is a Boolean?
What can cause an infinite loop?
What is "A condition that never becomes false"?
What is one ethical reason for creating reliable software?
What is "To ensure privacy and security for users"?
Which error occurs when there is a mistake in the rules of the programming language?
What is a Syntax Error?
Describe what an algorithm is and its role in program development.
An algorithm is a step-by-step procedure or formula for solving a problem. In program development, it outlines the logic and processes needed to achieve the desired outcome, serving as a blueprint for writing the actual code.
Explain the difference between declaring and initializing a variable.
Declaring a variable means specifying its name and data type, while initializing a variable means assigning it an initial value.
Explain how ELSE-IF statements are useful in programming and provide an example.
ELSE-IF statements are useful for checking multiple conditions and executing different blocks of code based on which condition is true. For example, if you are writing a program to assign grades based on percentage scores, you might use an ELSE-IF statement to check if a score is greater than 90, 80, 70, etc., to assign an 'A', 'B', 'C', respectively.
Describe the role of a team leader in a software engineering team.
A team leader in a software engineering team is responsible for managing the project, coordinating tasks, and ensuring effective communication among team members. They provide guidance and support to achieve project goals.
Which of the following is an example of a high-level language: Assembly, Python, Machine code, or Binary?
What is Python?
Why is it important to use meaningful identifier names in programming?
Using meaningful identifier names in programming is important because it makes the code easier to read and understand, allowing other developers to quickly grasp the purpose of the variables or functions.
What is the correct order of operations in programming?
What is Parenthesis, Exponent, Multiplication, Division, Modolus, Addition, Subtraction?
Describe a scenario where you would use nested IF statements.
Nested IF statements are used when a decision needs to be made based on multiple conditions that are dependent on each other. For example, if you are programming a game and need to check if a player has collected all items and also has a key to open a door, you would use nested IF statements.
Explain how software can impact privacy and security in society.
Software can impact privacy and security by controlling access to personal data and ensuring that user information is protected from unauthorized access. Ethical software development prioritizes user privacy and data protection.
Define the difference between interpreted and compiled languages
An interpreted language is translated into machine code at runtime, which means the code is executed line by line. A compiled language is converted into machine code before execution, creating an executable file.
Explain the difference between a function and a method in programming.
A function is a block of code designed to perform a specific task and can be reused throughout the program. A method is similar to a function but is associated with an object and is used in object-oriented programming to define behaviors of objects.
Why is it important to understand the scope of a variable in a program?
Understanding the scope of a variable is important to ensure that it is used in the correct context and does not cause unintended interactions with other parts of the program.
What are logical operators, and how do they help in forming complex conditions?
Logical operators such as AND, OR, and NOT are used to form complex conditions by combining multiple expressions. They help in making decisions in programs where more than one condition needs to be true or false to execute a particular block of code. For instance, in a security system, you might use AND to ensure both a password and a fingerprint match before granting access.
Discuss how teamwork and communication are important in software development.
Teamwork and communication in software development are crucial for effectively sharing ideas, solving problems collaboratively, and ensuring that all team members understand the project requirements and progress.