WorksheetsEmbedded system
Total questions: 30
Worksheet time: 15mins
Which one of the following is a real time operating system?
a) RTLinux
b) VxWorks
c) Windows CE
d) All of the mentioned
Real time systems must have ____________
c)
a) preemptive kernels
b) non preemptive kernels
C) preemptive kernels or non preemptive kernels
d) neither preemptive nor non preemptive kernels
Remote Procedure Calls are used ____________
a) for communication between two processes remotely different from each other on the same system
b) for communication between two processes on the same system
c) for communication between two processes on separate systems
d) none of the mentioned
A Process Control Block(PCB) does not contain which of the following?
a) Code
b) Stack
c) Bootstrap program
d) Data
The initial program that is run when the computer is powered up is called __________
a) boot program
b) bootloader
c) initializer
d) bootstrap program
Which of the following condition is required for a deadlock to be possible?
a) mutual exclusion
b) a process may hold allocated resources while awaiting assignment of other resources
c) no resource can be forcibly removed from a process holding it
d) all of the mentioned
Message passing system allows processes to __________
a) communicate with each other without sharing the same address space
b) communicate with one another by resorting to shared data
c) share data
d) name the recipient or sender of the message
ARM stands for
a )Advanced Risc Machine
b) Advanced Risc Microprocessor
c )Advanced Risc Microcontroller
d )None of above
The address system supported by ARM systems is/are ___________
a) Little Endian
b) Big Endian
c) X-Little Endian
d) Both Little & Big Endian
The banked registers are used for ______
a) Switching between supervisor and interrupt mode
b) Extended storing
c) Same as other general purpose registers
d) None of the mentioned
The standard SRAM chips are costly as _________
a) They use highly advanced micro-electronic devices
b) They house 6 transistor per chip
c) They require specially designed PCB’s
d) None of the mentioned
. The main virtue for using single Bus structure is ____________
a) Fast data transfers
b) Cost effective connectivity and speed
c) Cost effective connectivity and ease of attaching peripheral devices
d) None of the mentioned
Which of the following is a part of the AMBA protocol family?
A) PCIe
B) USB
C) AHB
D) I2C
A "bootloader" in an embedded system is used for:
A) Loading web pages
B) Loading and executing the main application software
C) Formatting the memory
D) Cooling down the processor
In RISC architecture, most instructions are executed in:
A) 10 or more clock cycles
B) A single clock cycle
C) Two clock cycles
D) Multiple variable clock cycles
What is the name of the ARM register R13 commonly used as?
A) Program Counter (PC)
B) Stack Pointer (SP)
C) Link Register (LR)
D) Status Register
What does the CPSR register in ARM contain?
A) Address of next instruction
B) Stack pointer
C) Processor status flags and mode bits
D) Interrupt vector
What are the three basic stages of the ARM7 pipeline?
A) Decode, Execute, Store
B) Fetch, Decode, Execute
C) Load, Execute, Write
D) Fetch, Load, Store
Which of the following ARM versions introduced a 5-stage pipeline?
A) ARM7
B) ARM9
C) ARM11
D) ARM Cortex-M0
What is the main purpose of cache memory in a processor?
A) Store permanent data
B) Increase instruction count
C) Store backup files
D) Reduce average memory access time
What is Tightly Coupled Memory (TCM) in ARM architecture?
A) External memory module
B) Special memory with direct processor access for deterministic behavior
C) Swappable memory module
D) A type of cache
What is the primary function of the Memory Protection Unit (MPU)?
A) Handle virtual memory
B) Encrypt memory
C) Control access to memory regions
D) Compress memory usage
What is the main function of the Memory Management Unit (MMU)?
A) Cache instruction results
B) Translate virtual addresses to physical addresses
C) Schedule CPU instructions
D) Encrypt memory pages
Which of the following is NOT a typical function of a coprocessor?
A) Floating-point arithmetic
B) Memory management
C) Instruction fetching
D) Cryptographic processing
What does the ARM instruction SUB R1, R2, R3 do?
A) Adds R2 and R3
B) Subtracts R1 from R2
C) Subtracts R3 from R2 and stores result in R1
D) Stores R3 in R2
What does the ARM instruction MOV R0, R1, LSL #2 do?
A) Adds R0 and R1
B) Moves R1 to R0 and multiplies by 2
C) Moves R1 to R0 after shifting left by 2 bits
D) Swaps R0 and R1
What is the result of MOV R2, R1, ROR #4 if R1 = 0xF0000000?
A) Rotates R1 4 bits right and stores in R2
B) Adds 4 to R1
C) Shifts left 4 bits
D) Multiplies R1 by 4
What does the ARM instruction B label do?
A) Adds the value of label to the Program Counter (PC)
B) Branches to the address specified by label (unconditional)
C) Moves the label into a register
D) Compares label with a register value
In ARM, what does the BGE instruction check before branching?
A) Branch if signed value is greater than or equal (based on N and V flags)
B) Branch if less than or equal (based on Z flag)
C) Branch if overflow occurred
D) Branch if negative value
What does the instruction "LDR R0, [R1, #4]" do in ARM architecture?
.
A) Load the value from memory address stored in R1 into register R0, with an offset of 4.
B) Load the value from memory address stored in R1 into register R0
C) Load register R0 with the value in R1.
D) Store the value of R0 at memory address R1.
