whether the mulitasking and multiprocessing are same or
not.
Answer Posted / jayasuriya
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.)
| Is This Answer Correct ? | 26 Yes | 1 No |
Post New Answer View All Answers
You have just been put in charge of a legacy code project with maintainability problems. What kind of things would you look to improve to get the project on a stable footing?
Explain the concept of convention over configuration, and talk about an example of convention over configuration you have seen in the wild.
What is the use of having the const qualifier?
Mention how I/O devices are classified for embedded system?
What are the languages used in embedded system?
This program is in verilog and need help to get it working correctly. This is the code i have so far. Please help. Simple testbench would be great. Thanks\ 'define vend_a_drink {D,dispense,collect} = {IDLE,2'b11}; module drink_machine(nickel_in, dime_in, quarter_in, collect, nickel_out, dime_out, dispense, reset, clk) ; parameter IDLE=0,FIVE=1,TEN=2,TWENTY_FIVE=3, FIFTEEN=4,THIRTY=5,TWENTY=6,OWE_DIME=7; input nickel_in, dime_in, quarter_in, reset, clk; output collect, nickel_out, dime_out, dispense; reg collect, nickel_out, dime_out, dispense; reg [2:0] D, Q; /* state */ // synopsys state_vector Q always @ ( nickel_in or dime_in or quarter_in or reset ) begin nickel_out = 0; dime_out = 0; dispense = 0; collect = 0; if ( reset ) D = IDLE; else begin D = Q; case ( Q ) IDLE: if (nickel_in) D = FIVE; else if (dime_in) D = TEN; else if (quarter_in) D = TWENTY_FIVE; FIVE: if(nickel_in) D = TEN; else if (dime_in) D = FIFTEEN; else if (quarter_in) D = THIRTY; TEN: if (nickel_in) D = FIFTEEN; else if (dime_in) D = TWENTY; else if (quarter_in) 'vend_a_drink; TWENTY_FIVE: if( nickel_in) D = THIRTY; else if (dime_in) 'vend_a_drink; else if (quarter_in) begin 'vend_a_drink; nickel_out = 1; dime_out = 1; end FIFTEEN: if (nickel_in) D = TWENTY; else if (dime_in) D = TWENTY_FIVE; else if (quarter_in) begin 'vend_a_drink; nickel_out = 1; end THIRTY: if (nickel_in) 'vend_a_drink; else if (dime_in) begin 'vend_a_drink; nickel_out = 1; end else if (quarter_in) begin 'vend_a_drink; dime_out = 1; D = OWE_DIME; end TWENTY: if (nickel_in) D = TWENTY_FIVE; else if (dime_in) D = THIRTY; else if (quarter_in) begin 'vend_a_drink; dime_out = 1; end OWE_DIME: begin dime_out = 1; D = IDLE; end endcase end end always @ (posedge clk ) begin Q = D; end endmodule
Tell me why do we need virtual device drivers when we have physical device drivers?
What happens when recursion functions are declared inline?
Tell me why is java mostly used in embedded systems?
Explain various uses of timers in embedded system?
Show me a portfolio of all the applications you worked on, and tell me how you contributed to design them.
Are you still writing code? Do you love it?
Tell me what are inline functions?
Tell me when one must use recursion function? Mention what happens when recursion functions are declared inline?
Describe a pattern that is not the factory pattern? How is it used and when?