Search results

  1. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is a loop in programming? A sequence of instructions that is never executed. A sequence of instructions that is executed randomly. A sequence of instructions that is executed only once. A sequence of instructions that is executed repeatedly. Explanation
  2. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is branching in computer programming? A way to store data in a program A way to repeat a sequence of instructions A technique to speed up a program A method to execute a different sequence of instructions based on a condition Explanation
  3. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    Why are comments ignored by the computer? Because they are not part of the executable code Because they are written in a different language Because they are placed at the end of the code Because they are written in uppercase letters Explanation
  4. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is sequential flow in a program? Code that runs in the order it is written Code that never runs Code that runs in a random order Code that runs only once Explanation
  5. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is a function call in programming? A command to create a new variable A command to run another part of the program and return A command to delete data A command to stop the program Explanation
  6. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is a function in programming? A piece of code that does one specific job A loop that repeats a block of code A variable that stores data A comment that explains the code Explanation
  7. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is debugging? Deleting old code Compiling code Fixing mistakes in code Writing new code
  8. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is a class in object-oriented programming (OOP)? A blueprint or template for creating objects. A specific instance of an object. A variable that stores data A method that an object can perform. Explanation
  9. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is object-oriented programming (OOP)? A technique to write software without using any models. A method to divide programs into smaller groups of actions or tasks. A way to write programs as a simple list of instructions. A way to model real-world objects in computer code. Explanation
  10. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What does it mean for an array to be multidimensional? It is a type of function. It can hold arrays within arrays. It can only be used in one-dimensional space. It can hold only one value. Explanation
  11. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is an array? A single value variable A type of loop A type of function A special type of variable that holds many values at once Explanation
  12. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    In pseudocode, what does the symbol || represent? Logical NOT Correct Answer: Logical OR Logical AND Logical XOR Explanation
  13. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    Which Boolean operation returns True only if both conditions are True? XOR NOT AND OR Explanation
  14. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    Which of the following is an example of a string? @ 7 $ Hello world Explanation
  15. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What happens when you enter a number as a character? It gets deleted. Correct Answer: You cannot perform math operations with it. You can perform math operations with it. It becomes a string. Explanation
  16. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    Which of the following is an example of an integer? 9.95 23 4.1 5.62 Explanation
  17. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is a floating-point number? A whole number A number used only in financial calculations A number that can have decimal fractions A number with a specific number of digits after the decimal point Explanation
  18. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    Which of the following is an example of a character variable? 3.14 False "555-1212" '7' Explanation
  19. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    What is a variable in a computer program? A type of function that performs calculations A special type of loop in programming A container that holds data for use later A fixed value that never changes Explanation
  20. abiodun1991

    CompTIA Tech+ FC0-U71 Course Material

    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