Block I- Unit 1- Quiz 1

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Sfa001
S
Sfa001
Community Contributor
Quizzes Created: 1 | Total Attempts: 144
Questions: 12 | Attempts: 144

SettingsSettingsSettings
Computer Quizzes & Trivia

The quiz covers Unit 1 in Block I, and composed of three parts:
1. Multiple choice questions, there are 5 questions and the students must answer all of these
questions. Each question has only 4 choices and the student must choose one right answer.
2. True or False questions, there are 6 questions and the students must answer all of these questions. In the Box below, only write "True" if the answer is true and "False" if the answer is
false.
3. Small exercise, how to declare an identifier, and the student must write a complete declaration statements in order to Read moretake a full mark.

Apply all the conditions in each question.


Questions and Answers
  • 1. 

    Any computer system is composed of:

    • A.

      Computer Hardware

    • B.

      Computer Software

    • C.

      Both a and b

    • D.

      None of the above

    Correct Answer
    C. Both a and b
    Explanation
    The correct answer is "Both a and b" because any computer system is composed of both computer hardware and computer software. Computer hardware refers to the physical components of a computer system, such as the processor, memory, and storage devices. Computer software, on the other hand, refers to the programs and data that run on the hardware, including the operating system and applications. Both hardware and software are essential for a computer system to function properly.

    Rate this question:

  • 2. 

    The main Hardware devices components of a computer are:

    • A.

      Input device

    • B.

      Output device

    • C.

      Storing data

    • D.

      All of the above

    Correct Answer
    D. All of the above
    Explanation
    The correct answer is "All of the above" because the main hardware devices components of a computer include input devices, output devices, and storage devices. Input devices such as keyboards and mice allow users to input data into the computer. Output devices like monitors and printers display or produce the processed information. Storing data is done using storage devices like hard drives or solid-state drives. Therefore, all three options mentioned in the question are correct in describing the main hardware components of a computer.

    Rate this question:

  • 3. 

    Holds programs temporarily during execution:

    • A.

      Main Memory

    • B.

      Secondary Memory

    • C.

      Cache Memory

    • D.

      None of the above

    Correct Answer
    A. Main Memory
    Explanation
    Main memory, also known as primary memory or RAM (Random Access Memory), holds programs temporarily during execution. It is a volatile memory that stores data and instructions that the CPU needs to access quickly. Main memory is directly accessible by the CPU and is faster than secondary memory (such as hard drives or SSDs). It provides the storage space for the currently running programs and data, allowing the CPU to quickly retrieve and manipulate information. Secondary memory is used for long-term storage, while cache memory is a smaller and faster memory that stores frequently accessed data to improve the CPU's performance.

    Rate this question:

  • 4. 

    A computer is a device that:

    • A.

      Executes data

    • B.

      Passes data

    • C.

      Produces outputs

    • D.

      Both a and c

    Correct Answer
    C. Produces outputs
    Explanation
    A computer is a device that produces outputs. This means that it is capable of generating results, such as displaying information on a screen, printing documents, or producing sound. The other options, executing data and passing data, are not exclusive to computers and can be performed by other devices as well. Therefore, the correct answer is "Produces outputs."

    Rate this question:

  • 5. 

    It achieves its purpose is called its implementation:

    • A.

      What

    • B.

      Why

    • C.

      How

    • D.

      When

    Correct Answer
    C. How
    Explanation
    The question is asking for the term that describes the way in which something achieves its purpose. The term "implementation" refers to the process or method of putting something into action or practice. Therefore, "How" is the correct answer as it aligns with the definition of implementation.

    Rate this question:

  • 6. 

    The description of what a piece of code does is called its specification.

    Correct Answer
    True
    true
    Explanation
    The statement is true because the description of what a piece of code does is indeed called its specification. The word "specification" refers to a detailed description or explanation of how something should be done or achieved. In the context of coding, a specification serves as a guide or reference for developers to understand the purpose and functionality of a particular piece of code. Therefore, it is accurate to say that the description of what a piece of code does is its specification.

    Rate this question:

  • 7. 

    For (i = 0; i < 10; i++), is an example of Assembly code.

    Correct Answer
    False
    false
    Explanation
    The given answer "False, false" is correct because the statement "for (i = 0; i < 10; i++)" is not an example of Assembly code. Assembly code is a low-level programming language that is specific to a particular computer architecture, whereas the given statement is written in a syntax that is more commonly used in higher-level programming languages like C or Java.

    Rate this question:

  • 8. 

    In the event-driven model, the program derives the user.

    Correct Answer
    False
    false
    Explanation
    The statement "In the event-driven model, the program derives the user" is incorrect. In an event-driven model, the program responds to events or actions initiated by the user or other sources, rather than deriving the user. The correct answer is false.

    Rate this question:

  • 9. 

    A method of solution, described in a way that can be carried out by a computer, is often referred to as an algorithm.

    Correct Answer
    True
    true
    Explanation
    The statement is true. An algorithm is a step-by-step procedure or a set of rules that can be followed to solve a problem. It is a precise and systematic approach that can be implemented by a computer. Therefore, a method of solution that can be carried out by a computer is indeed referred to as an algorithm. The answer is true.

    Rate this question:

  • 10. 

    Translate the program into a form that the machine can obey, this step is referred to as linking the program.

    Correct Answer
    False
    false
    Explanation
    The given answer "False,false" is incorrect. The statement "Translate the program into a form that the machine can obey, this step is referred to as linking the program" is true. Linking the program is the process of combining multiple object files and libraries into a single executable file that the machine can understand and execute. Therefore, the correct answer should be "True".

    Rate this question:

  • 11. 

    Programming for embedded systems can take the event-driven model approach; interrupt-driven  generating events that the system responded to.

    Correct Answer
    True
    true
    Explanation
    Programming for embedded systems often follows an event-driven model approach. This means that the system generates events through interrupts, and the system responds to these events accordingly. Therefore, the statement "Programming for embedded systems can take the event-driven model approach; interrupt-driven generating events that the system responded to" is true. The answer "True,true" confirms the correctness of the statement.

    Rate this question:

  • 12. 

    Write the declaration statements for:i. Ageii. Priceiii. Salary The Solution:(N.B write your answer as the following form: declaration 1; declaration 2; declaration 3; and use only one space between each 2 declaration statements) 

    Correct Answer
    int Age; float Price; float Salary;
    Explanation
    The correct answer is int Age; float Price; float Salary; This answer correctly declares three variables: Age as an integer, Price as a float, and Salary as a float.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Feb 14, 2010
    Quiz Created by
    Sfa001
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.