Top 10 Interview Questions in Embedded System with Answers | PTInstitute - PowerPoint PPT Presentation

View by Category
About This Presentation
Title:

Top 10 Interview Questions in Embedded System with Answers | PTInstitute

Description:

Every one very curious about the interview questions because you don’t know what type of questions Recruiter will ask so our embedded training institute in Bangalore is offering top 10 questions for students who are eager to get a job in the embedded field. Here, We discuss those 10 questions through a presentation. Through the presentation, you can get very clear about the top 10 questions. With Professional Training Institute, You can get embedded system training which is 100% practical based training so you can get a place soon. – PowerPoint PPT presentation

Number of Views:2
Slides: 16
Provided by: embeddedinstitute
Category:

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: Top 10 Interview Questions in Embedded System with Answers | PTInstitute


1
Professional Training Institute
  • One of the Best Embedded Training Institute in
    Bangalore

www.ptinstitute.in
2
Top 10 Interview Questions in Embedded System
with Answers
By Embedded Training Institute in Bangalore
3
The problem
  • Company
  • Context
  • Problem statement
  • Lorem ipsum dolor sit amet, consectetur
    adipiscing elit, sed do eiusmod tempor incididunt
    ut labore et dolore magna aliqua.
  • Ut enim ad minim veniam, quis nostrud
  • Ut enim ad minim veniam, quis nostrud
    exercitation
  • Duis aute irure dolor in reprehenderit in
    voluptate velit
  • Excepteur sint occaecat cupidatat non proident,
    sunt in culpa qui officia deserunt mollit anim id
    est laborum.

4
  • Every one very curious about the interview
    questions because you dont know what type of
    questions Recruiter will ask so our embedded
    training institute in Bangalore is offering top
    10 questions for students who are eager to get a
    job in the embedded field. With Professional
    Training Institute, You can get embedded system
    training which is 100 practical based training
    so you can get a place soon. Here see top 10
    interview question in the embedded system.
  • Challenge 1

5
1)
What is the use of the volatile keyword?
  • Beginner level (Fresher)
  • Volatile is the keyword used for optimization by
    the compiler during code compilation. We are
    conveying the message to the compiler Hey look
    this pieces of code can be modified externally so
    dont optimized this code associated with the
    current variable.

6
2)
Can a variable be both const and volatile?
  • The const keyword makes sure that the value of
    the variable declared as constant cant be
    changed. This statement holds true in the scope
    of the full program. So if by mistake user tried
    to write on const variable compiler itself will
    give the error, and say read-only variable cant
    change.

7
3)
What is a static variable? Or what is a static
keyword?
  • A) Scope of Static Variable
  • If the variable is defined in local scope then
    the scope of static variable will be within a
    function.
  • B) Life of Static Variable
  • Life of static variable is throughout the
    program. No matter it is defined in the local
    scope or global scope.

8
4)
What is the difference between a global static
variable and a global variable?
  • The scope of the global variable is throughout
    the program, while the scope of a static variable
    is within the file. Life of both variables
    (static variable and global) is throughout the
    program. Here understand question carefully.
    Questions are asking global static variable. It
    means is variable is saved in the file scope.
    Within file any function can use that variable,
    this variable will not be available in any other
    files.

9
5)
What is the difference between structure and
union?
  • C language is having many system-defined data
    types like char, int, float, double, long etc. we
    are also having an array of the above data types,
    which will help us to save more than many
    variables in contiguous locations.
  • Read More

10
6)
What is the function pointer, write delectation
(prototype of the following function pointer)?
  • A function pointer is a variable, which can hold
    the address of the function. This is used in
    callbacks. Since C is sequential language. It
    processes one by one. However, for some cases, we
    may need to call a function based on conditions.

11

7)
What is size of character, integer, integer
pointer, character pointer?
  • The size of a character is 1 byte. Size of an
    integer is 4 bytes. Size of integer pointer and
    character is 8 bytes on a 64-bit machine and 4
    bytes on 32-bit machine. Size of pointers does
    not depend upon the type of parameters, because
    pointer needs to save memory address, it does not
    matter what we are going to save them or from
    that address who many bytes we want. We just need
    to save the address.

12

8)
What is interrupt latency?
  • Interrupt latency is the time required for an ISR
    responds to an interrupt. When interrupts occur
    in the embedded system, then the processor
    finishes current instruction, save the value of
    the program counter and jump to the required ISR.
    Sometime if the processor is busy and serving
    another interrupt then another interrupt may be
    pending till processor/controller is gets free
    from current ISR.

13

9)
How to reduce interrupt latency?
  • In order to reduce interrupt latency, while
    designing the system we should take a minimum
    time as possible in the ISR. We should divide our
    ISR into two part, The top half and bottom half.
    Top half should be very small and control should
    come out as soon as possible, normally in this
    section, we just copy the data, and generate some
    flags.

14

10)
What is the dynamic memory allocation? Where we
can use this?
  • In C language we are having many system-defined
    data types like int, char, float, double etc.
    Size of each one is fixed like it is 4 bytes,
    char is one byte, the float is 4 bytes etc.
  • We are also having user-defined data types like
    struct, union. Here we struct reserve memory for
    each of its elements while union reserve memory
    for the highest data types.

15
  • We are a Professional Training Institute provides
    complete hands-on practical training in the
    embedded system, if you looking for embedded
    system training in Bangalore then choose us, as
    you go through our review and check what our old
    student is saying, they believe we are top
    embedded institute in Bangalore.
  • Best of luck for your future.
  • Learn More Embedded
  • Challenge 1
About PowerShow.com