0% found this document useful (0 votes)
8 views4 pages

Unit 2 Two Marks Ques - With Answers

Uploaded by

arjunsaicbe18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views4 pages

Unit 2 Two Marks Ques - With Answers

Uploaded by

arjunsaicbe18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

QUESTION BANK

UNIT – 1

1. What is the use of memory in microcontroller?

A microcontroller’s memory is used to store the data that the processor


receives and uses to respond to instructions that it’s been programmed to
carry out. A microcontroller has two main memory types

Program memory , Data Memory

2. What is internal memory and how is it different from external memory?

Internal memory also called main or primary memory refers to memory


that stores small amounts of data that can be accessed quickly while the
computer running

3.What are the types of internal memory?

ROM & RAM

4.What are the types of RAM?

DRAM & SRAM

5.What is meant by Interfacing ?

Interface is the path for communication between two components.


Interfacing is of two types, memory interfacing and I/O Interfacing.

6.What is meant by memory interfacing?

Memory interfacing when we are executing any instruction, we need the


microprocessor to access the memory for reading instruction codes and the
data stored in the memory. For this, both the memory and the microprocessor
requires some signals to read from and to write to registers.

7.What is meant by I/O Interfacing ?

There are various communication devices like the keyboard ,


mouse ,printer,etc.This type of interfacing is known as I/O Interfacing.
8.What is the difference between register and memory ?

Memory Register
A unit to store the data and A unit to store data and instructions
instructions accessed by the CPU for that are currently in execution by the
various program executions. CPU.

9.List out the functions of Input-output interfacing.

 It is capable of providing signals like control and timing signals.


 In this data buffering can be possible through data bus.
 It converts serial data into parallel data and vice-versa.
 It also converts digital data into analog signal and vice-versa.

10.Define embedded systems

An embedded systems is a microprocessor based computer hardware


system with software that is designed to perform a dedicated function,either
as an independent system or as a part of a large systems.

11.What is meant by programming language?

A programming language is a computer language programmers use to


develop software programs ,scripts or other sets of instructions for computers
to execute.

12.Define Ebedded C.

Embedded C programming Language ,which is widely used in the


development of embedded systems , is an extension of C program
language.The embedded C programming language uses same syntax.

13.Differerce between C and embedded C.


14.What is meant by data types?

The main data types being used by the embedded C programming


are integer, float, character etc. The size and the range of the data type
depends upon the compiler being used for embedded c programming.

15.Diffrence between global variable and Local variable.

Global Variable Local variable


Global variables are declared outside Local variables are declared within a
all the function blocks. function block
The scope remains throughout the The scope is limited and remains
program within the function only in which they
are declared
Any change in global variable affects Any change in the local variable does
the whole program,Whereever it is not affect other functions of the
being used. program.

16.List the advantages of Embedded C Program.

 The time consumed by the development cycle of an embedded


program reduced significantly.
 Developers were able to code easily
 Modifications and updates were made easily, resulting in more
successful maintenance cycles.
 The complexity of the code is reduced significantly.

17.What is the function of preprocessor directives ?

Preprocessor directives are lines included in a program that begin with


the character #.which make them different from a typical source code text.

18.Define Process.

A process is a single execution of a program. If we run the same program


two different times, we have created two different processes. Each process has
its own state that includes not only its register but also all of its memory.

19.List out the common tasks of operating system.

 Process management
 Memory management
 Device management
 Application management
 User Interface.

20. Define Operating system.

A program responsible for scheduling the CPU and controlling access to


devices.operating system is interface between user of a computer and its
hardware.

You might also like