Quiz On Microprocessor (Microcontroller)

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 Zenaida Agulto
Z
Zenaida Agulto
Community Contributor
Quizzes Created: 3 | Total Attempts: 871
Questions: 35 | Attempts: 434

SettingsSettingsSettings
Quiz On Microprocessor (Microcontroller) - Quiz

The following quiz will be our FINAL quiz no. 2 on Microprocessor you are only allowed to answer the following questions within 40 minutes. You are required to fill in all the necessary information asked upon registration. You are only allowed to answer the quiz ONCE, The system will automatically detect duplicate response from the user. . DEADLINE OF COMPLETION is until Oct. 11, 2017 only GOOD luck and Enjoy the EXAM. . . -Engr. Ronnel P. Agulto

* Graduating Students need to take this exam on or before OCT. 9 ,2017


Questions and Answers
  • 1. 

    Types of microcontroller memory which is slower to access.

    • A.

      On-chip

    • B.

      Volatile

    • C.

      Off- Chip

    • D.

      Non -Volatile

    Correct Answer
    C. Off- Chip
    Explanation
    Off-Chip memory refers to the memory that is located outside the microcontroller chip. This type of memory is typically slower to access compared to on-chip memory because it involves communication with external devices, such as RAM or Flash memory. Accessing off-chip memory requires additional time for data transfer and retrieval, which can result in slower overall performance. In contrast, on-chip memory is located within the microcontroller chip itself, allowing for faster access speeds.

    Rate this question:

  • 2. 

    •It is a small computer on a single chipcontaining a processor, memory, and input/output

    • A.

      Microprocessor

    • B.

      Microcontroller

    • C.

      Personal Computer

    • D.

      None of the choices

    Correct Answer
    B. Microcontroller
    Explanation
    A microcontroller is a small computer on a single chip that contains a processor, memory, and input/output capabilities. Unlike a personal computer, which is a larger and more complex device, a microcontroller is designed for specific tasks and is often used in embedded systems. It is capable of executing a set of instructions and controlling various electronic devices or systems. Therefore, the given correct answer is "Microcontroller".

    Rate this question:

  • 3. 

    •It is a program you write to run on an Arduino Board

    • A.

      Digital

    • B.

      Analog

    • C.

      Source Code

    • D.

      Sketch

    Correct Answer
    A. Digital
    Explanation
    The correct answer is "Digital" because it is referring to a program that is written to run on an Arduino Board. The term "Digital" is commonly used in the context of programming for Arduino Boards, as these boards are designed to work with digital inputs and outputs. Therefore, a program written for an Arduino Board would be considered a digital program.

    Rate this question:

  • 4. 

    Types of microcontroller memory which is fast, easy to access

    • A.

      On-chip

    • B.

      Volatile

    • C.

      Off- Chip

    • D.

      Non -Volatile

    Correct Answer
    A. On-chip
    Explanation
    On-chip memory refers to the type of microcontroller memory that is integrated directly onto the microcontroller chip itself. This means that it is physically located on the same chip as the microcontroller's processor, making it fast and easy to access. On-chip memory allows for quick data retrieval and processing, reducing the need for external memory components and improving overall system performance.

    Rate this question:

  • 5. 

    •Which of the following code will Sets pin to either INPUT or OUTPUT

    • A.

      DigitalWrite(pin, value)

    • B.

      DigitalRead(pin)

    • C.

      Digitalset(pin, values)

    • D.

      PinMode(pin, mode)

    Correct Answer
    D. PinMode(pin, mode)
    Explanation
    The correct answer is pinMode(pin, mode). The pinMode() function is used to set a specific pin on the microcontroller as either an input or an output. The "pin" parameter represents the pin number that we want to configure, and the "mode" parameter determines whether the pin should be set as INPUT or OUTPUT. This function is commonly used in Arduino programming to define the behavior of a pin before reading or writing data to it.

    Rate this question:

  • 6. 

    In Arduino its value is either HIGH or LOW

    • A.

      Sketch

    • B.

      Digital

    • C.

      Analog

    • D.

      Sketch

    Correct Answer
    B. Digital
    Explanation
    The given statement is referring to the value of a variable in Arduino, which can be either HIGH or LOW. In Arduino programming, digital variables are used to represent binary states, where HIGH represents a logical 1 or true, and LOW represents a logical 0 or false. This is commonly used for controlling digital pins, where HIGH can turn on a component or activate a circuit, while LOW can turn it off or deactivate it. Analog values, on the other hand, can have a range of values between two extremes, whereas digital values are limited to just two states.

    Rate this question:

  • 7. 

    In Arduino its value will range from 0 -255 .It is use to control LED brightness, motor speed etc.

    • A.

      Sketch

    • B.

      Digital

    • C.

      Analog

    • D.

      PIN

    Correct Answer
    C. Analog
  • 8. 

    •Which of the following code will set Pauses for a few milliseconds

    • A.

      DelayMicroseconds(us)

    • B.

      Sleep (us)

    • C.

      Delay(ms)

    • D.

      Sleep(ms)

    Correct Answer
    C. Delay(ms)
    Explanation
    The correct answer is delay(ms). The delay(ms) function is commonly used in programming to pause the execution of a program for a specified number of milliseconds. This allows for controlling the timing and synchronization of different parts of the program. By using delay(ms), the program will pause for the specified number of milliseconds before continuing with the next line of code.

    Rate this question:

  • 9. 

    Which of the following code will Reads HIGH or LOW from a pin

    • A.

      DigitalWrite(pin, value)

    • B.

      DigitalRead(pin)

    • C.

      Digitalset(pin, values)

    • D.

      PinMode(pin, mode)

    Correct Answer
    B. DigitalRead(pin)
    Explanation
    The correct answer is digitalRead(pin). This function is used to read the value (HIGH or LOW) from a specified pin. The digitalWrite() function is used to write a value (HIGH or LOW) to a pin. The digitalset() function is not a valid Arduino function. The pinMode() function is used to set the mode (INPUT, OUTPUT, or INPUT_PULLUP) of a pin.

    Rate this question:

  • 10. 

    •It is a block of code that has a name and a block of statements that are executed when the function is called.

    • A.

      Function

    • B.

      Loop

    • C.

      Comment

    • D.

      Source code

    Correct Answer
    A. Function
    Explanation
    A function is a block of code that has a name and a set of statements that are executed when the function is called. It allows for modular programming and code reusability, as functions can be called multiple times from different parts of the program. The name of the function is used to refer to it and call it whenever needed. When the function is called, the statements inside the function's block of code are executed in order.

    Rate this question:

  • 11. 

    It defines the beginning and end of function blocks and statement block 

    • A.

      Function

    • B.

      Loop

    • C.

      Comment

    • D.

      None of the choices

    Correct Answer
    D. None of the choices
    Explanation
    This question is asking for the statement that defines the beginning and end of function blocks and statement blocks. However, none of the given choices (function, loop, comment) accurately describe this concept. Therefore, the correct answer is "none of the choices."

    Rate this question:

  • 12. 

    •It is the symbol used to end the statement in Arduino programming.

    • A.

      Braces

    • B.

      Comment

    • C.

      Semicolon

    • D.

      Parenthesis

    Correct Answer
    C. Semicolon
    Explanation
    In Arduino programming, the semicolon is used to end a statement. It indicates the completion of a line of code and separates multiple statements within a program. By placing a semicolon at the end of a statement, it tells the compiler that the current line of code is finished and it can move on to the next line. Without the semicolon, the compiler would interpret the code as incomplete and generate an error. Therefore, the semicolon is crucial in Arduino programming to ensure proper syntax and execution of the program.

    Rate this question:

  • 13. 

    This are areas of text in Arduino programming which are ignored by the program and are used for large text descriptions of code

    • A.

      Braces

    • B.

      Block comment

    • C.

      Semicolon

    • D.

      parenthesis

    Correct Answer
    B. Block comment
    Explanation
    Block comments are areas of text in Arduino programming that are ignored by the program. They are used for adding large text descriptions of code. Block comments are enclosed within /* and */ symbols and can span multiple lines. They are useful for providing explanations, documenting code, or temporarily disabling a section of code without deleting it.

    Rate this question:

  • 14. 

    •It is a variable that can be seen and used by every function and statement in a program

    • A.

      Local variable

    • B.

      Static variable

    • C.

      Global variable

    • D.

      None of the choices

    Correct Answer
    C. Global variable
    Explanation
    A global variable is a variable that can be accessed and used by any function or statement within a program. It is not limited to a specific function or scope, making it visible and usable throughout the entire program. This allows for easy sharing of data between different parts of the program.

    Rate this question:

  • 15. 

    •A data type of numbers that have a decimal point.

    • A.

      Long

    • B.

      Int

    • C.

      Float

    • D.

      Byte

    Correct Answer
    C. Float
    Explanation
    A float is a data type that is used to store numbers with decimal points. It is commonly used when precision is not a major concern. Floats typically occupy 4 bytes of memory and have a range of values that they can represent. They are often used in scientific calculations and when dealing with real-world measurements that require decimal accuracy.

    Rate this question:

  • 16. 

    Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)Fixed amount of on-chip ROM, RAM, I/O ports

    • A.

      MC

    • B.

      MP

    Correct Answer
    A. MC
    Explanation
    The given function is determining whether a fixed amount of on-chip ROM, RAM, and I/O ports is under a microprocessor or a microcontroller. The correct answer is MC, which stands for microcontroller. This is because microcontrollers typically have on-chip memory (ROM and RAM) and I/O ports, whereas microprocessors usually do not have these components integrated on the chip.

    Rate this question:

  • 17. 

    •Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)• expensive

    • A.

      MC

    • B.

      MP

    Correct Answer
    B. MP
    Explanation
    The given answer is MP (microprocessor) because microprocessors are generally more expensive than microcontrollers. Microprocessors are designed to perform a wide range of tasks and are more powerful, complex, and versatile compared to microcontrollers. They are commonly used in devices that require high processing power, such as computers, smartphones, and gaming consoles. On the other hand, microcontrollers are simpler, less expensive, and typically used in embedded systems and devices that require specific functions with lower processing power, such as household appliances, automotive systems, and industrial machinery.

    Rate this question:

  • 18. 

    Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)Low power consumption

    • A.

      MC

    • B.

      MP

    Correct Answer
    A. MC
    Explanation
    The given correct answer is MC (microcontroller) because microcontrollers are designed to operate with low power consumption. They are integrated circuits that contain a processor, memory, and input/output peripherals, all on a single chip. Microprocessors, on the other hand, are solely the processing unit of a computer and do not have built-in memory or peripherals.

    Rate this question:

  • 19. 

    Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)Typically single-cycle/two-stage pipeline

    • A.

      MC

    • B.

      MP

    Correct Answer
    A. MC
    Explanation
    The given correct answer is MC (microcontroller). This is because microcontrollers typically have a single-cycle or two-stage pipeline, which means that they can execute instructions in a single cycle or in two stages. Microprocessors, on the other hand, usually have a more complex pipeline structure with multiple stages. Therefore, based on the information provided, it can be inferred that the function described is more likely to be associated with a microcontroller rather than a microprocessor.

    Rate this question:

  • 20. 

    Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)

    • A.

      MC

    • B.

      MP

    Correct Answer
    B. MP
    Explanation
    The given answer "MP" indicates that the function is under a microprocessor.

    Rate this question:

  • 21. 

    •Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller) •general-purpose 

    • A.

      MC

    • B.

      MP

    • C.

      Option 3

    • D.

      Option 4

    Correct Answer
    B. MP
    Explanation
    The correct answer is MP because the question asks whether the function is under a microprocessor or a microcontroller, and the function is determined to be under a microprocessor.

    Rate this question:

  • 22. 

     •Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)for applications in which cost, power and space are critical

    • A.

      MC

    • B.

      MP

    Correct Answer
    A. MC
    Explanation
    The given answer "MC" indicates that the function is under a microcontroller. In applications where cost, power, and space are critical, microcontrollers are typically preferred over microprocessors. This is because microcontrollers are integrated circuits that combine the functions of a microprocessor, memory, and other peripherals, making them more cost-effective, power-efficient, and compact compared to separate microprocessor-based systems.

    Rate this question:

  • 23. 

    Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)•designer can decide on the  amount of ROM, RAM and I/O ports. 

    • A.

      MC

    • B.

      MP

    • C.

      Option 3

    • D.

      Option 4

    Correct Answer
    B. MP
    Explanation
    The given function can be determined to be under a microprocessor (MP) because the designer has the ability to decide on the amount of ROM, RAM, and I/O ports. This indicates that the function is more flexible and customizable, which is typically associated with microprocessors rather than microcontrollers.

    Rate this question:

  • 24. 

    •Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)•Instruction sets focus on control and bit-level operations 

    • A.

      MC

    • B.

      MP

    Correct Answer
    A. MC
    Explanation
    The given function is determined to be under microcontroller (MC) because microcontrollers are designed to have a built-in memory and I/O peripherals, making them suitable for control and bit-level operations. Microprocessors, on the other hand, are primarily focused on processing data and do not typically have the same level of integrated peripherals as microcontrollers.

    Rate this question:

  • 25. 

    •Determine if the following function is under microprocessor or Microcontroller. Write (MP – microprocessor) or (MC – microcontroller)•Low processing power

    • A.

      MC

    • B.

      MP

    Correct Answer
    A. MC
    Explanation
    The given function is determined to be under a microcontroller (MC) because it has low processing power. Microcontrollers are designed to perform specific tasks with low power consumption and limited processing capabilities, making them suitable for applications that do not require high computational power. On the other hand, microprocessors (MP) are more powerful and versatile, capable of handling complex tasks and running multiple applications simultaneously. Therefore, the low processing power requirement indicates that the function is more likely to be implemented on a microcontroller.

    Rate this question:

  • 26. 

    X!= y specifies x is greater than Y 

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The statement "x!= y specifies x is greater than Y" is false. The "!=" operator is used to check if two values are not equal, not to compare their magnitudes. It does not provide any information about whether x is greater or smaller than y.

    Rate this question:

  • 27. 

    Microprocessor, by-itself, completely useless  it must have external peripherals toInteract with outside world

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The statement is true because a microprocessor alone cannot perform any meaningful tasks without external peripherals. These peripherals are necessary for the microprocessor to interact with the outside world, such as input devices (keyboard, mouse) and output devices (monitor, printer). The microprocessor processes data and instructions, but it relies on these external peripherals to receive input and display output, making it useless on its own.

    Rate this question:

  • 28. 

    Microcontroller put a limited amount of most commonly used resources  “inside” the chip

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Microcontrollers are designed to have a limited amount of commonly used resources integrated directly onto the chip itself. This includes components such as a CPU, memory, input/output ports, timers, and sometimes even analog-to-digital converters. By having these resources built-in, microcontrollers are able to perform their intended functions without the need for additional external components. This integration also helps to reduce the size, cost, and complexity of the overall system. Therefore, the statement "Microcontrollers put a limited amount of most commonly used resources 'inside' the chip" is true.

    Rate this question:

  • 29. 

    •Integers are the primary datatype for storage for storage of numbers without decimal point

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    Integers are whole numbers that do not have decimal points. They are used to store numbers that do not require decimal precision, such as counting or indexing. Integers are a primary datatype in programming languages for efficient storage and manipulation of whole numbers. Therefore, the statement that "Integers are the primary datatype for storage of numbers without a decimal point" is true.

    Rate this question:

  • 30. 

    An array is a collection of values that are accessed with an index number

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    An array is a data structure that stores a collection of values, where each value is assigned a unique index number. This allows for easy and efficient access to specific values within the array by referring to their corresponding index. Therefore, the statement "An array is a collection of values that are accessed with an index number" is true.

    Rate this question:

  • 31. 

    •x/=y is an example of compound assignment

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The statement "x/=y" is a compound assignment because it combines the division operator (/) with the assignment operator (=). Compound assignments perform an operation and assign the result back to the variable. In this case, it divides the value of x by y and assigns the quotient back to x. Therefore, the correct answer is True.

    Rate this question:

  • 32. 

    •the equation x*=3 would triple the old value of x and re assign the resulting value to x.

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    The equation x*=3 means that the value of x is multiplied by 3 and then reassigned to x. This would effectively triple the old value of x. Therefore, the statement is true.

    Rate this question:

  • 33. 

    •Logical AND operators are expressed using the symbol “AND”

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    Logical AND operators are not expressed using the symbol "AND". In most programming languages, the logical AND operator is represented by the symbol "&&". Therefore, the given statement is incorrect.

    Rate this question:

  • 34. 

    One of the disadvantages of microcontroller over microprocessor is the upgrade path got easier 

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    The given answer is False because one of the advantages of microcontrollers over microprocessors is that the upgrade path is easier. Microcontrollers are designed to be easily programmable and reprogrammable, allowing for easy upgrades and modifications. In contrast, microprocessors typically require more complex hardware changes for upgrades, making the upgrade path more difficult. Therefore, the statement that the upgrade path got easier with microcontrollers is incorrect.

    Rate this question:

  • 35. 

    ATMEL AVR is one of the popular microcontroller available in the market

    • A.

      True

    • B.

      False

    Correct Answer
    A. True
    Explanation
    ATMEL AVR is indeed one of the popular microcontrollers available in the market. It is widely used in various applications due to its versatility, reliability, and ease of use. The AVR microcontrollers offer a wide range of features and are known for their low power consumption, high processing speed, and extensive support from the development community. Many hobbyists, students, and professionals choose ATMEL AVR microcontrollers for their projects and products, making it a popular choice in the market.

    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 14, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Oct 07, 2017
    Quiz Created by
    Zenaida Agulto
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.