UNIT II Two Marks
UNIT II Two Marks
1. What is the significance of BUSY flag in LCD interfacing? When D7 pin=1 and RS pin=0
he USY flag is set which means that LCD is busy taking
care of internal operations and will not accept any new information. Therefore, we have to
The keyboards are organized in a matrix of rows and columns. The microcontroller
grounds all rows by providing zero to the output latch then reads the columns.
3.What is meant by key bouncing?
Microprocessor must wait until the key reach to a steady state; this is known as Key bounce.
5.Features of Embedded C
1. It is only the extension of C language and nothing more.
2. It has source code format that depends upon the kind of microcontroller or
microprocessor that have been being used.
3. Through embedded C high level optimization can be done.
4. It is used in microprocessor or microcontroller applications.
5. It has limited resources for used, mean the embedded system have only memory
location.
6. In embedded C constraints runs on real time and output is not available at operating
system.
6.Define Tasks and processes.
A task is a set of computations or actions that processes on a CPU under the control of a
scheduling kernel. It also has a control structure called a task control block. It has a unique
ID. It has different states: idle, ready, running, blocked and finished.
A process is an instance of a computer program that is being executed. A computer
program is a passive collection of instructions, while a process is the actual execution of
those instructions. Several processes may be associated with the same program; for example,
opening up several instances of the same program often means more than one process is
being executed.
7. What is meant by Operating System?
Operating System is a system software that manages the computer's resources, such as the
central processing unit, memory, disk drives, and printers, establish a user interface, and
execute and provide services for application software.
8. Give any two properties of Operating Systems.
The properties of OS are:
Batch processing
Time Sharing
Managing the computer's resources, such as the central processing unit, memory, disk
drives, and printers
Establishing a user interface
Providing services for application software
9. Define multitasking.
Multitasking is the concept of performing multiple tasks over a certain period of time by
executing them concurrently. There are two basic types of multitasking: preemptive and
cooperative. In preemptive multitasking, the operating system allocates CPU time slices to
each program. In cooperative multitasking, each program can control the CPU for as long as
it needs it. If a program is not using the CPU, however, it can allow another program to use it
temporarily.
10. What is Multithreading?
Multithreading is the ability of an operating system to execute the different parts of a
program called threads at the same time.
PART – C
1. An audio system processes samples at a rate of 44.1 kHz. At what rate could we sample
the system’s front panel to both simplify analysis of the system schedule and provide
adequate response to the user’s front panel requests?
2. Compute the utilization of this periodic set of tasks
3. Show a cyclostatic schedule for the tasks and Compute the CPU utilization for the system
4. For the given periodic process execution times and periods, show how much CPU time of
higher-priority processes will be required during one period of each of the following
processes:
a. P1
b. P2
c. P3
d. P4
6. Evaluate the system design technique for large data analysis using video accelerator.
8. Show a cyclostatic schedule for the tasks and Compute the CPU utilization for the system
9. For the given periodic process execution times and periods, show how much CPU time of
higher-priority processes will be required during one period of each of the following
processes:
a. P1
b. P2
c. P3
d. P4
11. Evaluate the system design technique for large data analysis using video accelerator.