The document contains practice questions for a test on microcontrollers, covering number base systems, logical operations, algorithms, and digital computers. It includes tasks such as converting numbers between bases, performing logical operations, writing pseudocode, and discussing the evolution and components of digital computers. The questions are designed to assess understanding of fundamental concepts in microcontroller programming and digital systems.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
5 views1 page
TEL 432 - Test 1 - Practice Questions
The document contains practice questions for a test on microcontrollers, covering number base systems, logical operations, algorithms, and digital computers. It includes tasks such as converting numbers between bases, performing logical operations, writing pseudocode, and discussing the evolution and components of digital computers. The questions are designed to assess understanding of fundamental concepts in microcontroller programming and digital systems.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
TEL 432: Introduction to Microcontrollers
Test 1 - Practice Questions
Number Base Systems: Conversion and Arithmetic (3 questions) 1. Convert the decimal number 255 to binary, octal, and hexadecimal. Explain the steps involved in each conversion. 2. Perform the following operations and express the results in both binary and decimal: - Hexadecimal addition of 1A6F16 and 1C0116 - Binary subtraction of 10102 from 11012 3. Explain the process of converting a Hexdecimal number, such as 26B516, to its binary equivalent.
Logical Operations on Binary Numbers: AND, OR, NAND, etc. (2 questions)
4. Given the binary numbers 1010 and 0111, perform the following logical operations and explain the result: - AND - OR - XOR - NOR 5. Create a truth table for a three-input NAND gate and explain how the output is determined.
Algorithms: Pseudocodes and Flowcharts (2 questions)
6. Write a pseudocode for a program that sorts an array of numbers in ascending order using the bubble sort algorithm. 7. Draw a flowchart to find the greatest common divisor (GCD) of two numbers using the Euclidean algorithm.
Digital Computers: Definition, Generations, Components, and Classifications (3 questions)
8. Discuss the evolution of digital computers from the first generation to the fifth generation, focusing on the key technological advancements of each generation. 9. Explain the role of the following components in a digital computer: - Central Processing Unit (CPU) - Memory (RAM and ROM) - Input/Output devices 10. Classify digital computers into different types based on size and capability (e.g., microcomputers, minicomputers, mainframe computers, supercomputers) and describe one application for each type.