Embedded System Quiz Questions Asked In Online Tests, Placement
Hello guys, welcome back to my blog. In this article, I will share embedded system quiz questions asked in online tests, MCQs on embedded systems, quiz questions asked in online tests, etc.
If you have any doubts related to electrical, electronics, and computer science, then ask question. You can also catch me @ Instagram – Chetan Shidling.
Also, read:
- What Is A DC Microgrid, Need & Types Of Controlling Strategies
- Top 12 Online Circuit Simulators, Free Online Electronic Circuit Simulators
- What Is Clipper Circuit, Types, Advantages, Disadvantages, Applications
Embedded System Quiz Questions
01. ST32F407VG can work at
- 1.8V -3.6V
- 2.7V-3.6V
- 2.7-5V
- 1.8-5V
02. What Does the below statement mean in C?
Static int my_function(int a, int b)
{
Return a+b;
}
- Error, cannot use static for function
- It’s just a normal function
- my_ function can be called only from functions that are declared static
- Visibility of my_ function is limited to the file it is defined in
03. Arm_none_eabi_gcc is a
- Native compiler
- Cross compiler
- Both of the above
- None of the above
04. Are registers required in 12c?
- True
- False
05. Identify the correct sequence of the instruction execution cycle
- Fetch-execute- decode
- Fetch- decode-execute
- Execute- decode-Fetch
- Execute-Fetch- decode
06. We can alter the sequence of interrupt priority by assigning the higher priority to any one of the interests by programming the register called?
- Interrupt sequence
- Interrupt priority
- Interrupt decision
- None of the options
07. Which is wrong in the below command (Assume CFLAGS are set) arm_none_eabi_gcc $(CFLAGS )-T*c -o out. elf
- No, it is all correct
- We should provide *.o instead of *.c
- We should provide *.s instead of *.c
- None of the above the real issue is mentioned here
08. The main importance of ARM microprocessors is providing operation with
- Low cost and low power consumption
- The higher degree of muti-tasking
- Lower error or glitches
- Efficient memory management
09. Which tool takes the object file and searches library files to find the routine calls?
- Locator
- Assembler
- Linker
- Debugger
10. arm-none-eabi-gcc -c main.c
What is the output file name generated by the above command?
- Main. o
- Main. out
- a.out
- Main. elf
11. strn32f407VG is based on
- ARM Cortex M4 processor
- ARM Cortex M3 processor
- ARM Cortex M2 processor
- ARM Cortex M0 processor
12. Which of the following produces an assembler file in the compilation process?
- Pre-processor
- Assembler
- Compiler
- Post- processing
13. Identify the best practices wrt exchanging structure
a. pass the structure variables by value
b. pass the structure variables by address
c. return the structure variables by value
d. return the structure variables by address
Options:
- 2 & 4
- 2, 3, & 4
- 2 only
- 1 & 3
14. How to flip the 8th bit in a given 32 Bit integer?
uint32_t val= 0xA1B2C3D4;
- Val &(1<<8)
- val^(1<<8)
- val^(1<<7)
- Val | (1<<7)
15. Which of the following best states the reason that why the Baud rate is mentioned in serial communication?
- To know about the no. of bits being transmitted per second
- Make the two devices compatible with each other so that the transmission becomes easy and error-free
- To use timer 1
- For wasting memory
16. In UART it is possible to disable parity if needed
- True
- False
17. While working with ARM basic controllers we need to enable interrupts with the help of
- NVIC_ISE Register
- NVIC_ICE Register
- NVIC_IP Register
- None of the above
18. ARM Stands for
- Advanced rate machines
- Advanced RISC machines
- Artificial running machines
- Aviary running machine
19. Which one of the following allows the programmer to define constants?
- Pre-processor
- Compiler
- Emulator
- Debugger
20. I am trying to compile the code for the ARM Cortex M4 based microcontroller, is the below command sufficient?
arm-none-eabi-gcc -c main.c
- True
- False
21. In 12C every device should have a unique ID
- True
- False
22. To combine a code for the embedded target you would prefer a native compiler
- True
- False
23. The memory section organization for a specific target system is described in
- Batch script
- Shell Script
- Linker script
- None of the above
24. Choose the correct among the given option below
- The linker is used to link .o files only
- Assembler is used to generate .elf file
- Preprocessor is used to generate .s file
- All are correct
25. While working with Qemu if you want to Run your target, you will use the -m option
- True
- False
26. If we do not specify the executive will filename at the compilation time in GCC, then the compiler creates an executable name as
- a.out
- b. exe
- x.out
- x.exe
27. Consider a 32-bit architecture, to the type of instructions set supported by ARM processors are
- ARM and thumb
- ARM and DSP
- DSP and thumb
- None
28. In SPI more number slaves with less number of IO lines can be interfaced with
- Multiplexer
- Daisy Chaining
- Tail Chaining
- None of the above
29. Which file is General would contain a call to the main function?
- Linker script
- Startup file
- Header file
- None of the above
30. In order to have communication using 12C, we need
- Pull-up SDA and pull down SCL lines
- pull-down SDA and pull -upSCL lines
- Pulled on both SDA and SCL
- None of the above
31. LSB bit of a 12C address byte
- Represent the intrinsic(R/ W) of transfer
- Presents The acknowledgment (ACK) from slaves
- Start of message
- None of the above
32. In STM324076, the maximum number of bits are available on a port are
- 8
- 16
- 24
- 32
33. With respect to UART, the Baud rate is
- Number of bits per second
- Number of bytes per second
- Number of bits per frame
- Number of bytes per frame
34. The startup file is always written as a c code
- True
- False
35. In embedded target development, a locator is used to link all the files
- True
- False
36. The function calling itself is known as
- Recursion
- Iteration
- Traversal
- None of the above
37. Which of the following header file is included for using the dynamic memory allocation function?
- stdlib.h
- stdio.h
- memory. h
- dynamic.h
38. Which is the output of the code below?
#include
int function
{
Static int .c= 0;
C++
Return c;
}
Int main()
{
print(“%d”, function());
print(“%d”, function());
return 0;
}
- 12
- 11
- Null
- 13
39. How much memory is allocated for PI in C?
define PI 3.141
- Size of a float variable
- Size of double variable
- No memory is allocated, as it’s just a substitution where it is used
- Syntax error, the semicolon is missing at the end of the line
40. The sensor which gives analog voltage output must be connected to?
- Analog pin of MCU
- Digital pin of MCU
- UART of MCU
- SPI of MCU
41. Embedded system with no operating system is termed as
- Bare metal
- Full Metal
- Bold metal
- In metal
42. Which line in the code snippet is wrong?
Void function()
{
Int a=0;
Const int b=1;
b=a
}
- 2
- 3
- 4
- 1
43. Identify the valid usage of Malloc to create an Array of 10 integers, assuming inter size is for byte?
- Int “ptr=malloc(10);
- Int “ptr=malloc(10,4);
- Int “ptr=malloc(40);
- Int “ptr=malloc(4,10);
44. ISR stands for
- Interrupt Service routine
- Integrated solution resolve
- Interstage resourcei
- Integrated software register
45. The keyword ‘ break’ cannot be simply used within
- While
- do-while
- if-else
- for
This was about ” Embedded System Quiz Questions “. I hope this article ” Embedded System Quiz Questions ” may help you all a lot. Thank you for reading.
Also, read:
- 100 + Electrical Engineering Projects For Students, Engineers
- 1000+ Electronics Projects For Engineers, Diploma, MTech Students
- 1000+ MATLAB Simulink Projects For MTech, Engineering Students
- 500+ Embedded System Projects For Engineer, Diploma, MTech, PhD
- 500+ Projects For Diploma Electrical, Electronics Student, Diploma Project
- 8051 Microcontroller Timers, TCON Register, TMOD Register
- Advanced Technologies In-Vehicle Infotainment Systems
- Advancements In 3D Printing Technology And It’s Future