(c) Name and briefly describe any 4 data types in typical computer systems and i
ID: 2082407 • Letter: #
Question
(c) Name and briefly describe any 4 data types in typical computer systems and identify the
type of applications to which they are most suited.
(d) With the aid of a system block diagram showing a microprocessor and a memory device,
describe the memory read operation. Illustrate your answer with a timing diagram.
(e) The ARM microcontroller has a RISC architecture. Explain what you understand by the
term RISC architecture, and identify how it might differ from other microprocessor
architectures that you are aware of.
Explanation / Answer
(c) Name and briefly describe any 4 data types in typical computer systems and identify the
type of applications to which they are most suited.
Solution:
The four data types which we use in a typical computer system include
1) String : A string represents alphanumeric data which can contain many different characters. Characters of a string are considered as text and not put into calculations.
Application:Strings are often implemented as an array of bytes (or words) to stores a sequence of elements, typically characters, using some character encoding.
2) numeric data types:Numeric data types represent a count or measurement of some kind and is used too perform calculations with them. There are several different types of numeric data. An integer is a numeric value without a decimal.A number with a decimal is referred to as a decimal, a float or a double.
Applications; Numeric data types are widely used in currency applications and storage of experimental data
3) Boolean data type:The Boolean data type can only represent two values: true or false. Typically, a zero is used to represent false and a one is used to represent true. Boolean expressions allow us to write programs that decide whether to execute some code or not. These decisions changes the flow of the program execution.
Application of boolean Datatype:Programmers use boolean data type to store yes no or on off values
4) Data and time: Dates and times have their own data type to seperate them from numeric data. There are many different ways to format dates and times. Some common ways to format dates are: YYYY-MM-DD - for example 2015-04-03 Month/Day/Year - for example 4/7/1996 Day of the week, month and day, year - for example Sunday, April 1, 2012
Application of date and time: Real time applications , to set date and time
Note: I am expected to answer only one question at a time
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.