Uploaded by Deward Diongson

DEWARD F. DIONGSON BSEE 3

advertisement
MIDTERM EXAMINATION
EE 321 MICROPROCESSOR SYSTEMS
Name: DEWARD F. DIONGSON Course: BSEE Yr.: 3 Section: ________
School: SC-SIT MADRIDEJOS CAMPUS Date: March 26, 2022 Contact # _______________
Direction: Answer the following questions below and write your answers in a separate sheet of
paper.
1.What are the types of mnemonics possible?
ANSWER:
Keyword Mnemonics
Chunking as a Mnemonic Strategy
Musical Mnemonics
Letter and Word Mnemonic Strategies
Rhymes as Mnemonic Strategies
Making Connections as a Mnemonic Method
Method of Loci Mnemonic Strategy
Peg Method Mnemonics
The Mnemonic Linking System (Stories or Images)
2.What are source codes and object codes?
ANSWER:
Source code is generally understood to mean programming statements that are created by a
programmer with a text editor or a visual programming tool and then saved in a file. Object
code generally refers to the output, a compiled file, which is produced when the Source Code
is compiled with a C compiler.
3.How are high level languages converted into binary?
ANSWER:
The most conventional kind of language is a compiled language. Compiled languages get translated
into runnable files of binary machine code by a special program called (logically enough) a compiler
4.What is a meant by the word ‘statement’ in a microcomputer and microprocessor systems?
ANSWER:
a statement is a syntactic unit of an imperative programming language that expresses some action to
be carried out. A program written in such a language is formed by a sequence of one or more
statements. A statement may have internal components (e.g., expressions)
5.Write down the difference between a compiler and an interpreter.
ANSWER:
The difference between an interpreted and a compiled language lies in the result of the process of
interpreting or compiling. An interpreter produces a result from a program, while a compiler
produces a program written in assembly language.
6.Differentiate between a compiler/interpreter and an assembler.
ANSWER:
The main difference between compiler interpreter and assembler is that compiler converts the whole
high-level language program to machine language at a time while interpreter converts high level
language program to machine language line by line and assembler converts assembly language
program to machine language.
7.What are the names given to instructions written in high- and low-level languages?
ANSWER:
A computer program is a list of instructions that enable a computer to perform a specific task.
Computer programs can be written in high- and low-level languages, depending on the task and the
hardware being used.
8. What is another name of a microprocessor?
ANSWER:
microprocessor chip, silicon chip, chip, microchip, microchip.
9. What is a microcomputer?
ANSWER:
microcomputer, an electronic device with a microprocessor as its central processing unit (CPU).
Microcomputer was formerly a commonly used term for personal computers, particularly any of a class
of small digital computers whose CPU is contained on a single integrated semiconductor chip
10. What are the jobs that a microcomputer is capable of doing? How does it do the jobs?
ANSWER:
They are capable of accepting, storing, retrieving, and manipulating information. This ability
to manipulate information in many different ways and store and retrieve it quickly makes
computers valuable. Before the computer can do its job, it needs to be loaded with a program.
11. What is meant by the word ‘bus’ in microcomputer and microprocessor systems?
ANSWER:
According to computer architecture, a bus is defined as a system that. transfers data between
hardware components of a computer or between two separate computers. System bus is a
single bus that helps all major components of a computer to communicate with each other.
12. What are the different buses and what jobs they do in a microprocessor?
ANSWER:
Three types of bus are used.
 Address bus - carries memory addresses from the processor to other components such as
primary storage and input/output devices. The address bus is unidirectional.
 Data bus - carries the data between the processor and other components. The data bus
is bidirectional.
 Control bus - carries control signals from the processor to other components. The control bus
also carries the clock's pulses. The control bus is unidirectional.
13. Why are the different buses buffered?
ANSWER:
A three-state bus buffer is an integrated circuit that connects multiple data sources to a
single bus. The open drivers can be selected to be either a logical high, a logical low, or high
impedance which allows other buffers to drive the bus
14. In how many ways computers are divided?
ANSWER:
There are four types in the classifications of the computer by size are Supercomputer,
Mainframe computer, Minicomputer, and Micro Computer.
15. Distinguish between the three types of computers.
ANSWER:
The three main types of computers that are differentiated based on their data handling
capabilities are:
 Analog computers.
 Digital computers.
 Hybrid computers.
16. In how many ways computer software’s are categorized?
ANSWER:
Typically, there are two major classifications of software, namely System Software and
Application Software.
17. Explain the two types of software’s.
ANSWER:
System software controls a computer’s internal functioning, chiefly through an operating
system, and also controls such peripherals as monitors, printers, and storage devices.
Application software, by contrast, directs the computer to execute commands given by the
user and may be said to include any program that processes data for a user. Application
software thus includes word processors, spreadsheets, database management, inventory and
payroll programs, and many other “applications.”
18. Draw the software hierarchy of a microcomputer system.
ANSWER:
19. What is meant by the word ‘editor’ in a microcomputer and microprocessor systems?
ANSWER:
Editors or text editors are software programs that enable the user to create and edit text files.
In the field of programming, the term editor usually refers to source code editors that include
many special features for writing and editing code
20. What is an OS (operating system) and what are its functions?
ANSWER:
An Operating System (OS) is an interface between a computer user and computer hardware. An
operating system is a software which performs all the basic tasks like file management, memory
management, process management, handling input and output, and controlling peripheral devices
such as disk drives and printers.
Download