C Programming 1 Quiz-lecture

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 Armilyn Martinez
A
Armilyn Martinez
Community Contributor
Quizzes Created: 1 | Total Attempts: 241
Questions: 20 | Attempts: 242

SettingsSettingsSettings
C Programming 1 Quiz-lecture - Quiz


Questions and Answers
  • 1. 

    ________is a machine that performs a variety of tasks according to specific instructions.

    Correct Answer(s)
    Computer
    Explanation
    A computer is a machine that is capable of performing a wide range of tasks based on specific instructions. It can process, store, and retrieve data, perform calculations, communicate with other devices and users, and execute various software programs. Computers are designed to be programmable and adaptable, allowing them to perform different tasks depending on the given instructions. They are used in various fields such as education, business, entertainment, and research, making them an essential tool in today's society.

    Rate this question:

  • 2. 

    ________ is the tangible part of the computer.

    Correct Answer(s)
    hardware
    Explanation
    The term "hardware" refers to the physical components of a computer system that can be seen and touched. This includes devices such as the central processing unit (CPU), memory, storage devices, input/output devices, and peripherals. These components work together to enable the computer to perform tasks and execute instructions. Therefore, "hardware" is the correct answer as it accurately describes the tangible part of a computer system.

    Rate this question:

  • 3. 

    ________ is closely connected to the processor as storage of running programs and tasks.

    Correct Answer(s)
    Main Memory, Random Access Memory, RAM
    Explanation
    Main Memory, Random Access Memory (RAM) is closely connected to the processor as storage of running programs and tasks. This is because RAM is a type of main memory that provides temporary storage for data that the processor needs to access quickly. It allows the processor to read and write data at high speeds, making it an essential component for the efficient execution of programs and tasks.

    Rate this question:

  • 4. 

    ________is used to hold programs and data for long term use.

    Correct Answer(s)
    Secondary Mermory
    Explanation
    Secondary memory is used to hold programs and data for long term use. It refers to the storage devices that are external to the computer's main memory, such as hard drives, solid-state drives, and optical discs. Unlike primary memory (RAM), which is volatile and loses its data when the computer is turned off, secondary memory retains data even when the power is turned off. This allows for the storage of large amounts of data and the ability to access it at a later time.

    Rate this question:

  • 5. 

    Input Devices.(Choose all correct answers)

    • A.

      Microphone

    • B.

      Scanner

    • C.

      Graphic Tablet

    • D.

      Printer

    • E.

      Plotters

    Correct Answer(s)
    A. Microphone
    B. Scanner
    C. Graphic Tablet
    Explanation
    The question is asking to choose the input devices from the given options. A microphone is an input device used to capture sound or voice. A scanner is an input device used to convert physical documents or images into digital format. A graphic tablet is an input device used by artists or designers to create digital drawings or sketches. Therefore, the correct answers are microphone, scanner, and graphic tablet as they all are input devices.

    Rate this question:

  • 6. 

    ________ Are programs needed to keep all the hardware and software systems smoothly run together.

    Correct Answer(s)
    Systems Programs
    Explanation
    Systems programs are necessary to ensure that all hardware and software systems can work together smoothly. These programs help manage and coordinate the various components of a system, such as the operating system, device drivers, and utility programs. They provide the necessary interface and functionality for different software applications to communicate with the hardware and perform tasks efficiently. Without systems programs, it would be challenging to maintain the compatibility and integration of different systems, leading to potential issues and inefficiencies.

    Rate this question:

  • 7. 

    Application Programs. (Choose ALL answers)

    • A.

      Game Apps

    • B.

      Linux

    • C.

      Word Processors

    • D.

      IDE

    • E.

      Defragmenter

    Correct Answer(s)
    A. Game Apps
    C. Word Processors
    D. IDE
    Explanation
    The correct answer is Game Apps, Word Processors, and IDE. These are all examples of application programs. Game apps are software programs designed for entertainment purposes, word processors are used for creating and editing documents, and IDE (Integrated Development Environment) is a software suite that provides tools for software development. Linux and Defragmenter are not application programs, as Linux is an operating system and Defragmenter is a utility program used to optimize computer hard drives.

    Rate this question:

  • 8. 

    ________called machine code, low-level language , in binary form which a particular computer can execute directly.

    Correct Answer(s)
    Machine Language
    Explanation
    Machine language, also known as machine code, refers to the low-level language that is written in binary form and can be executed directly by a specific computer. This language is composed of instructions that the computer's processor can understand and execute without the need for translation or interpretation. It is the most basic form of programming language and is specific to a particular computer architecture.

    Rate this question:

  • 9. 

    ________icalled machine code, low-level language , in binary form which a particular computer can execute directly.

    Correct Answer(s)
    Assembly Language
    Explanation
    Assembly language is a programming language that is one step above machine code. It uses mnemonic codes to represent the instructions that a particular computer can execute directly. It is considered a low-level language because it provides a more readable and understandable way for humans to write code compared to machine code. Assembly language is then translated into machine code by an assembler, allowing it to be executed directly by the computer.

    Rate this question:

  • 10. 

    ________ the style or way of programming.

    Correct Answer(s)
    Programming Paradigm
    Explanation
    The term "Programming Paradigm" refers to the style or way of programming. It encompasses the fundamental principles and concepts that guide the design and implementation of computer programs. Different programming paradigms, such as procedural, object-oriented, functional, and logical, offer distinct approaches to problem-solving and organizing code. The answer correctly identifies "Programming Paradigm" as the term that fits the given description.

    Rate this question:

  • 11. 

    Program Development Life Cycle Phases. (Choose ALL correct answers)

    • A.

      Debugging

    • B.

      Design

    • C.

      Editing

    • D.

      Coding

    • E.

      Execution

    Correct Answer(s)
    A. Debugging
    B. Design
    D. Coding
    Explanation
    The correct answer is Debugging, Design, and Coding. These three phases are part of the Program Development Life Cycle. Debugging involves identifying and fixing errors or bugs in the program. Design refers to the process of creating a plan or blueprint for the program's structure and functionality. Coding involves writing the actual code for the program. These phases are essential for developing a successful program.

    Rate this question:

  • 12. 

    ________clear and unambiguous specification of the steps needed to solve a problem.

    Correct Answer(s)
    Algorithm
    Explanation
    An algorithm is a clear and unambiguous specification of the steps needed to solve a problem. It is a set of instructions or a procedure that outlines the exact sequence of operations to be performed in order to solve a problem or achieve a specific goal. Algorithms are used in various fields such as computer science, mathematics, and engineering to solve complex problems by breaking them down into smaller, more manageable steps. They provide a systematic approach to problem-solving and ensure that the solution is consistent and reproducible.

    Rate this question:

  • 13. 

    ________design tool used to graphically represent the logic in a solution.

    Correct Answer(s)
    Flowchart
    Explanation
    A flowchart is a design tool used to graphically represent the logic in a solution. It helps to visualize the steps and decision points in a process or algorithm. By using various symbols and arrows, a flowchart provides a clear and concise representation of the flow of control in a program or system. It is commonly used in software development, problem-solving, and process analysis to communicate and document complex procedures in an easily understandable format.

    Rate this question:

  • 14. 

    ________symbol that represents the sequence of available information and executable operations

    Correct Answer(s)
    Flowlines, Flowline
    Explanation
    The given correct answer for this question is "Flowlines, Flowline". In the context of the question, flowlines and flowline can be understood as symbols that represent the sequence of available information and executable operations. These symbols are commonly used in various fields, such as process flow diagrams or software flowcharts, to visually represent the flow of data or actions. They help to depict the logical order and connectivity between different components or steps in a process.

    Rate this question:

  • 15. 

    ________ are errors that occur due to syntax errors

    Correct Answer(s)
    Compile Time Errors
    Explanation
    Compile time errors are errors that occur due to syntax errors in the code. These errors are detected by the compiler during the compilation process. When the code is being compiled, the compiler checks the syntax of the code and if it encounters any errors, it generates compile time errors. These errors prevent the code from being successfully compiled and therefore, the program cannot be executed. Examples of compile time errors include missing semicolons, undeclared variables, and incorrect function calls. These errors need to be fixed before the code can be compiled and run successfully.

    Rate this question:

  • 16. 

    Convert the binary number 1101010 to Octal.

    Correct Answer(s)
    152
    Explanation
    To convert a binary number to octal, we can group the binary digits into sets of three starting from the rightmost digit. In this case, we have 110 101 0. Now, we can convert each set of three digits into its octal equivalent. 110 is equivalent to 6 in octal, 101 is equivalent to 5 in octal, and 0 remains the same in octal. Therefore, the octal representation of the binary number 1101010 is 652.

    Rate this question:

  • 17. 

    Convert the Octal Number 7412 to Hexadecimal

    Correct Answer(s)
    F0A
    Explanation
    To convert the octal number 7412 to hexadecimal, we can first convert it to binary and then to hexadecimal. In octal, each digit represents 3 bits in binary. So, 7 in octal is 111 in binary, 4 is 100, and 1 is 001. Combining these, we get 111100001 in binary. Now, we can group the binary digits into groups of 4 from right to left, giving us 1111 and 0001. Converting these groups to hexadecimal, we get F and 0 respectively. Therefore, the octal number 7412 is equivalent to F0A in hexadecimal.

    Rate this question:

  • 18. 

    Convert the decimal number 18.5 to binary.

    Correct Answer(s)
    10010.1
    Explanation
    To convert a decimal number to binary, we need to divide the number by 2 repeatedly and record the remainders. Starting with 18.5, we divide it by 2 to get 9 with a remainder of 0. We then divide 9 by 2 to get 4 with a remainder of 1. Dividing 4 by 2 gives us 2 with a remainder of 0. Dividing 2 by 2 gives us 1 with a remainder of 0. Finally, dividing 1 by 2 gives us 0 with a remainder of 1. The remainders, read from bottom to top, give us the binary representation 10010. The decimal point remains in the same position, resulting in 10010.1.

    Rate this question:

  • 19. 

    Convert the Hexadecimal number B1 to Decimal.

    Correct Answer(s)
    177
    Explanation
    The question asks for the conversion of the hexadecimal number B1 to decimal. In hexadecimal, B represents the decimal value 11, and 1 represents the decimal value 1. Therefore, when we combine these two values, we get 11*16 + 1*1 = 177 in decimal.

    Rate this question:

  • 20. 

    A standardized communication technique for expressing instructions to a computer

    Correct Answer(s)
    Programming
    Explanation
    Programming is the correct answer because it refers to the process of writing and creating computer programs using a standardized communication technique. It involves expressing instructions and algorithms to a computer in a language that it can understand and execute. Programming is essential for developing software, applications, and systems that perform specific tasks and solve problems efficiently.

    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
  • Oct 07, 2020
    Quiz Created by
    Armilyn Martinez
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.