ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories >> Software >> Embedded-Systems >> Embedded-Systems-AllOther
 
 


 

Back to Questions Page
 
Question
Is tasklets or workqueues or softirqs are scheduled by the
scheduler?
Rank Answer Posted By  
 Question Submitted By :: Raghu Kiran
I also faced this Question!!   © ALL Interview .com
Answer
no
 
0
Hari!!!!!!!!!!!!!!
 
 
Question
whether the mulitasking and multiprocessing are same or 
not.
Rank Answer Posted By  
 Question Submitted By :: P.mgr
I also faced this Question!!   © ALL Interview .com
Answer
NOT
 
0
Mukul Aggarwal
 
 
Answer
Not Same
 
0
Naga
 
 
 
Answer
Multitasking implies time sharing, its like a single person
doing different jobs, obviously at different time slices.
Multiprocessing involves some amount of parallelism, if the
hardware supports (eg: dual core, hyper threading etc.)
 
0
Jayasuriya
 
 
Question
What is Difference between CAN and GMLAN
Rank Answer Posted By  
 Question Submitted By :: Vaibhav
This Interview Question Asked @   GM-General-Motors
I also faced this Question!!   © ALL Interview .com
Answer
CAN :- Implemented by boach
GMLAN:- Implemented for GM for vehicle network an diagnostics
 
0
Nag
 
 
Question
Design a circuit to detect when 3 and only 3 bits are set 
out of 8 bits.(eg. o0101100)
Rank Answer Posted By  
 Question Submitted By :: Newbie
This Interview Question Asked @   Qualcomm , Qualcomm, RIM
I also faced this Question!!   © ALL Interview .com
Answer
Add the digits and check the sum. It would imply a 3-bit 
adder (max. value = 8 can be represented with three bits) 
and compare the result to 011.
 
0
Esther
 
 
Answer
3 input AND those 3 bits. No adder needed...
 
0
Josh
 
 
Answer
for serially arriving stream: 
use a 2 bit accumulator( S1 and S2) with outputs O1 and O2. 
Final Output will be Y = ~O1 . O2

For parallel, 
use combinational logic , probably priority encoder to
reduce  delay.
 
0
Kalyanpa
 
 
Answer
keep the number in A reg and ratate it 8 times if carry 
generates more than 3  it will indicate a non desired numer
 
0
Priya
 
 
Answer
step1: start
step2: mov the byte to accumulator
step3: intialize length = 0 , count = 0
step4: rotate acc. to right through carry.
step5: if carry = 1 , increment count
step6: increment length
step7: if length < 8 , goto step3
step8: if count = 3 , (do required action)
step9: end
 
0
Ravichandra
 
 
Answer
Step 1:  Store the 8 bit value in a accumulator

Step 2:  Store 0x1 in a register0, initialize two counter  
with 0 i.e. store zero in a reg1 and reg2.

LOOP:
Step 3:  Check if AND operation between the value in
register0 and accumulator is set i.e. 1 
if yes, increment reg1 and reg2
If no, increment only reg2

step 4: Left shift the value of register0 by 1
step 5: if ( reg2 >=8), exit LOOP
                 if ( reg1 >= 3), show that 3 bit is set
        Else Go To LOOP



MOV XAR1, #Data
MOV XAR0, #0
MOV XAR2, #0

Loop:
TBIT *XAR1, #Count 
BF Loop1, NTC
INR *XAR0

Loop1:
INR *XAR2
MOV AL, *XAR1
CMP AL, #0x03
BF Loop3, EQ

MOV AL, *XAR2
CMP AL, #0x80
BF Loop, NEQ

Loop3:
EXIT
 
0
Gautam Bhattacharya
 
 
Answer
Sorry thr was a bit mistake. Corrected : 

MOV XAR1, #Data
MOV XAR0, #0
MOV XAR2, #0

Loop:
TBIT *XAR1, *XAR2 
BF Loop1, NTC
INR *XAR0

Loop1:
INR *XAR2
MOV AL, *XAR0
CMP AL, #0x03
BF Loop3, EQ

MOV AL, *XAR2
CMP AL, #0x80
BF Loop, NEQ

Loop3:
EXIT
 
0
Gautam
 
 
Answer
I have modified it a bit,

MOVL XAR1, #Data
MOVL XAR0, #0x00
MOVL XAR2, #0x00

Loop:
TBIT *XAR1,#XAR2 
BF Loop1, NTC
INR AR0

Loop1:
INR AR2
MOV AL, *XAR0
CMP AL, @0x03
BF Action, EQ

MOV AL, *XAR2
CMP AL, @0x08
BF Loop, NEQ

Loop3:
EXIT

Action:
 
0
Gautam
 
 
Answer
You fools...the question is to design a circuit
(hardware)..not writing a program.
 
0
Xyz
 
 
Answer
Use a 8 bit parallel in serial out shift register. Use the
serial out bit to increment a counter(a 3 bit register), if
its one. After 8 shifts, compare the counter with 011b to
detect 3.
 
0
Jayasuriya
 
 
Question
Design a circuit for A + abs(B) = C, where A and B are 4 
bits wide and 2?s complement representation
Rank Answer Posted By  
 Question Submitted By :: Newbie
This Interview Question Asked @   Qualcomm , Qualcomm
I also faced this Question!!   © ALL Interview .com
Answer
make a 4-bit adder/subtractor ( which can perform A+B and A-
B depending on value of bit say SUB..ie if SUB is 1 it will 
perform A+B ) now give A and B as inputs and make MSB of B 
as SUB bit.
suppose A=0110(6),B=1110(-2);so result will be A-B ie.,   
A+|B|=6-(-2)=8
 
0
Siva
 
 
Question
In 8085 microprocessor READY signal does.which of the
following is incorrect statements
    [a]It is input to the microprocessor
    [b] It sequences the instructions
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   Wipro , Wipro
I also faced this Question!!   © ALL Interview .com
Answer
sequences the instructions..
 
1
Guest
 
 
Answer
a) is wrong answer
 
0
Senthil
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com