Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Interview questions for embedded systems programmer

Status
Not open for further replies.

bayou1221

Newbie level 2
Newbie level 2
Joined
Feb 5, 2005
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
32
firmware interview questions

Hello all,
Can anybody tell me what questions can be asked for the position of a Embedded Systems Programmer.

They are looking for C and embedded firmware development, serial and ethernet communications and protocol conversion.

I will really appreciate any help I can get.

Thanks,
BA
 

embedded system interview questions

Hello BA

Here is a question i was asked long time ago :

In an embedded system you have a software who run a function "test(char Data)" with a sigle static 8 bit register.

void test(char Data)
{
static char Reg;
char temp
/* your code start here use temp for data process */
......
......
......
......
/*your code end here */
Display(temp);
}



the main software call that function "test()" who calls a display routine , each time the function called an 8 bit data is trnsferd to the function

Your task is to write the contents of the function to show on the dispaly the mean of the last 10 function call's.

Good luck

Bobi
 

embedded systems interview questions

Let's call this is Q1. it wouls be easy to refer with Question number when this topic goes lengthy with lots of such questions.
i have one more question.
Q2) what is volatile keyword, and its significance?
i was asked in an interview. this is also related to embedded systems only.

I still not sure what is the significance of volatile.

regards
srinivas
 

embedded firmware interview questions

vasureddym said:
... I still not sure what is the significance of volatile. ...
read this:


Mik
 

embedded system interview question

vasureddym said:
I still not sure what is the significance of volatile.

In embedded systems without an OS, volatile is used when declaring variables that can be altered out side of their scope. ie global variables that are altered by isr's and/or hardware events.
 

embedded software interview questions

bobcat1 said:
Hello BA

Here is a question i was asked long time ago :

In an embedded system you have a software who run a function "test(char Data)" with a sigle static 8 bit register.

void test(char Data)
{
static char Reg;
char temp
/* your code start here use temp for data process */
......
......
......
......
/*your code end here */
Display(temp);
}



the main software call that function "test()" who calls a display routine , each time the function called an 8 bit data is trnsferd to the function

Your task is to write the contents of the function to show on the dispaly the mean of the last 10 function call's.

Good luck

Bobi
how would you solve it?
 

interview questions on embedded systems

Hello Banh

The answer is simple !

all you have to do is to mean the value of reg with vlau of data and send it to display e.g.

void test(char Data)
{
static char Reg;
char temp ;
temp = ((Reg + Data)/2)
reg = temp;
Display(temp);
}

All the best

Bobi
 

embedded system interview

hey,
it should not be the mean of the last 10 values?
 

firmware development interview questions

Hello Banh

Yes,

but this is the closest and simplest way to do it , i think ....


All the best


Bobi
 

embedded and firmware interview questions

I would prefer asking electronics basic stuff, like power supply circuit design, interfacing techniques, and other kind of basic knowledge about electronics system.

Btw, Bayu. i sent my interview question samples to you by email already. Have you read them :D?
 

firmware interview question

what has embedded software to do with power supply design?
It's not that someone cannot design a power supply that he cannot write/design good embedded software.
Programming skills, insight in processor architectures, perhaps OS architectures, ... might be beter to look for.

Antharax
 

embedded system questions

bobcat1 said:
Hello Banh

The answer is simple !

all you have to do is to mean the value of reg with vlau of data and send it to display e.g.

void test(char Data)
{
static char Reg;
char temp ;
temp = ((Reg + Data)/2)
reg = temp;
Display(temp);
}

All the best

Bobi

Are you sure that (written for 3 values):

((data1 + data2)/2 + data3)/2 equal to (data1 + data2 + data3)/3 ??
 

embedded software engineer interview questions

Yes

Because the function receive only 1 parameter and can't remember more the 1 parametr when exit


All the best


Bobi
 

interview question firmware

bobcat1 said:
Yes

Because the function receive only 1 parameter and can't remember more the 1 parametr when exit


All the best


Bobi

May be we can do :
void test(char Data)
{
static char Reg;
char temp ;
Reg += Data/10;
temp = Data;
Display(temp);
}

but we do not know how many times the function will be called - there is no additional static memory to count calls ...
 

embedded software interview question collection

Dear Artem

This answer is the closest way to do a mean of 10 since you can't count how many time the function have bean called

Some time in tests you don't have to give the exact answer.


All the best


Bobi
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top