NEC licence exam preparation, made clearer.Practice questions, syllabus guides, and timed mocks for Nepal engineers.New study resources are added regularly.NEC licence exam preparation, made clearer.Practice questions, syllabus guides, and timed mocks for Nepal engineers.New study resources are added regularly.
What is the difference between random access memory (RAM) and read-only memory (ROM)?
A.
RAM is non-volatile, while ROM is volatile
B.
ROM is used for temporary storage, while RAM is used for permanent storage
C.
RAM is faster than ROM
D.
ROM retains its data even when the power is turned off, while RAM does not
·
Question 3
Which of the following is an example of volatile memory?
A.
Hard disk
B.
USB flash drive
C.
CD-ROM
D.
RAM
·
Question 4
What is the purpose of a memory address?
A.
To identify the type of data being stored
B.
To identify the location of the data being stored
C.
To prevent unauthorized access to the data
D.
To provide additional storage for the data
·
Question 5
Which of the following is an example of primary memory?
A.
Hard disk
B.
Cache memory
C.
CD-ROM
D.
RAM
·
Question 6
What is the purpose of a memory bus?
A.
To store data in the CPU cache
B.
To manage the transfer of data between main memory and the CPU
C.
To provide a backup of data in case of a system failure
D.
To prevent unauthorized access to data
·
Question 7
Which of the following is true about memory bandwidth?
A.
It is a measure of the amount of data that can be transferred between the CPU and memory in a given time
B.
It is a measure of the amount of storage capacity available in a given memory device
C.
It is a measure of the access time for a given memory device
D.
It is a measure of the number of memory devices that can be connected to a single bus
·
Question 8
Which of the following is an example of a secondary storage device?
A.
Hard disk
B.
RAM
C.
Cache memory
D.
Registers
·
Question 9
Which of the following is true about solid-state drives (SSDs)?
A.
They are faster than traditional hard disk drives (HDDs)
B.
They are less expensive than traditional HDDs
C.
They have a larger storage capacity than traditional HDDs
D.
They use spinning disks to store data
·
Question 10
Which type of external memory is typically used for long-term storage and backup?
A.
Magnetic tape
B.
SSD
C.
USB flash drive
D.
CD-ROM
·
Question 11
Which of the following is an important principle of cache design?
A.
Data should always be stored in the cache
B.
Only frequently used data should be stored in the cache
C.
Data should be stored in the cache in the order it is accessed
D.
Data should be stored in the cache based on its age
·
Question 12
What is the purpose of a cache line?
A.
To identify the location of data in the cache
B.
To identify the location of data in main memory
C.
To group multiple blocks of data into a single cache entry
D.
To manage the transfer of data between the CPU and cache
·
Question 13
What is cache hit rate?
A.
The percentage of cache accesses that result in a cache hit
B.
The percentage of cache accesses that result in a cache miss
C.
The time it takes to access data in the cache
D.
The time it takes to transfer data between main memory and the cache
·
Question 14
Which of the following is an example of a direct-mapped cache?
A.
Set-associative cache
B.
Fully-associative cache
C.
Virtually-addressed cache
D.
Physically-addressed cache
·
Question 15
What is the purpose of a cache replacement policy?
A.
To determine the size of the cache
B.
To determine the location of data in the cache
C.
To determine which cache entry to replace when the cache is full
D.
To determine which block of data to load into the cache
·
Question 16
Which of the following is a disadvantage of a fully-associative cache?
A.
It has a higher hit rate than other types of caches
B.
It is more expensive to implement
C.
It is more difficult to manage than other types of caches
D.
It has a larger cache size than other types of caches
·
Question 17
Which of the following is a disadvantage of a direct-mapped cache?
A.
It has a higher hit rate than other types of caches
B.
It is more expensive to implement than other types of caches
C.
It is more difficult to manage than other types of caches
D.
It can suffer from cache conflicts
·
Question 18
Which of the following is an example of a write-back cache?
A.
Write-through cache
B.
Victim cache
C.
No-write allocate cache
D.
Write-allocate cache
·
Question 19
What is the purpose of a victim cache?
A.
To store data that has been evicted from the cache
B.
To store data that is not frequently accessed
C.
To store data that has not yet been written to main memory
D.
To store data that has been modified in the cache
·
Question 20
Which of the following is an advantage of a set-associative cache?
A.
It has a higher hit rate than other types of caches
B.
It is less expensive to implement than other types of caches
C.
It is easier to manage than other types of caches
D.
It has a smaller cache size than other types of caches
·
Question 21
Which of the following is a type of primary memory?
A.
Hard Disk Drive
B.
Random Access Memory (RAM)
C.
Compact Disc (CD)
D.
Floppy Disk
·
Question 22
What is the main difference between primary and secondary memory?
A.
Primary memory is faster, but less storage capacity
B.
Secondary memory has a longer lifespan, but slower access time
C.
Primary memory is volatile, while secondary memory is non-volatile
D.
Secondary memory is more expensive, but more reliable
·
Question 23
Which of the following is a type of secondary memory?
A.
Cache
B.
Read-Only Memory (ROM)
C.
Magnetic Tape
D.
Graphics Processing Unit (GPU)
·
Question 24
What is the primary use of secondary memory?
A.
To store programs and data that are currently in use
B.
To provide long-term storage for data and programs
C.
To speed up the processing of data
D.
To display graphics on a computer screen
·
Question 25
What is the maximum storage capacity of a typical secondary memory device?
A.
A few gigabytes
B.
A few terabytes
C.
A few petabytes
D.
A few exabytes
·
Question 26
What is the main purpose of peripheral devices in a computer system?
A.
To provide a large amount of non-volatile storage for data and programs
B.
To speed up the processing of data
C.
To provide a way for users to interact with the computer
D.
To display graphics on a computer screen
·
Question 27
Which of the following is an example of an I/O module?
A.
Keyboard
B.
Processor
C.
Hard Disk Drive
D.
Graphics Processing Unit (GPU)
·
Question 28
What is the purpose of an input-output interface in a computer system?
A.
To manage data transfer between the CPU and the memory
B.
To manage input and output operations
C.
To manage the power supply to the memory
D.
To manage the storage and retrieval of data on a hard disk
·
Question 29
What is the purpose of Direct Memory Access (DMA)?
A.
To allow peripheral devices to directly access and transfer data to and from memory without involving the CPU
B.
To speed up the processing of data by temporarily storing frequently accessed data
C.
To provide a way for users to interact with the computer
D.
To manage the storage and retrieval of data on a hard disk
·
Question 30
What is a characteristic of a multiprocessor system?
A.
It has a single processor
B.
It has multiple processors that work independently of each other
C.
It has a single processor that is shared by multiple peripherals
D.
It has multiple processors that are tightly coupled and work together as a single entity
·
Question 31
What is the main purpose of inter-processor communication in a multiprocessor system?
A.
To coordinate the actions of multiple processors to ensure that they work together effectively
B.
To manage the power supply to the processors
C.
To manage the storage and retrieval of data on a hard disk
D.
To display graphics on a computer screen
·
Question 32
What is the main purpose of interconnection structure in a multiprocessor system?
A.
To provide a way for the processors to communicate with each other
B.
To manage the power supply to the processors
C.
To manage the storage and retrieval of data on a hard disk
D.
To display graphics on a computer screen
·
Question 33
What is the main purpose of synchronization in a multiprocessor system?
A.
To coordinate the actions of multiple processors to ensure that they work together effectively
B.
To manage the power supply to the processors
C.
To manage the storage and retrieval of data on a hard disk
D.
To display graphics on a computer screen
·
Question 34
What is the main difference between programmed I/O and Interrupt-driven I/O?
A.
Programmed I/O requires the CPU to actively monitor the status of the I/O operation, while Interrupt-driven I/O relies on the peripheral device to generate an interrupt to signal the completion of the I/O operation
B.
Interrupt-driven I/O requires the CPU to actively monitor the status of the I/O operation, while Programmed I/O relies on the peripheral device to generate an interrupt to signal the completion of the I/O operation
C.
Programmed I/O and Interrupt-driven I/O are the same thing
D.
Programmed I/O is faster, but less reliable, while Interrupt-driven I/O is slower, but more reliable
·
Question 35
What is the main purpose of VHDL?
A.
To provide a way to design and simulate digital circuits
B.
To provide a way to program microcontrollers
C.
To provide a way to create and edit text documents
D.
To provide a way to create and edit images
·
Question 36
How is overflow handled in VHDL?
A.
By default, VHDL does not handle overflow
B.
Overflow is handled automatically by VHDL
C.
Overflow is handled using specific VHDL constructs, such as overflow flags or saturation arithmetic
D.
Overflow is handled using error handling techniques, such as exceptions
·
Question 37
How is data representation performed in VHDL?
A.
By using binary or hexadecimal representation
B.
By using ASCII or Unicode representation
C.
By using standard data types, such as integers or floating-point numbers
D.
By using custom data types, such as arrays or records
·
Question 38
How can combinational logic be designed using VHDL?
A.
By using gates, such as AND, OR, and NOT gates
B.
By using the case or if-then-else statements
C.
By using state machines or finite state machines (FSMs)
D.
By using lookup tables or memory elements
·
Question 39
How can pipelining be performed using VHDL?
A.
By using pipelines, such as pipeline stages or pipeline registers
B.
By using parallel processing techniques, such as parallel execution or parallel threads
C.
By using state machines or finite state machines (FSMs)
D.
By using lookup tables or memory elements
·
Question 40
What is the main function of an operating system?
A.
To provide a user interface for interaction with the computer
B.
To provide a platform for running applications and managing computer hardware
C.
To provide a way to create and edit text documents
D.
To provide a way to play video games
·
Question 41
What is the difference between a task, process, and thread?
A.
A task is a single instance of a program, a process is a collection of tasks, and a thread is a single path of execution within a process
B.
A task is a collection of processes, a process is a single instance of a program, and a thread is a single path of execution within a process
C.
A task is a collection of threads, a process is a single path of execution within a task, and a thread is a single instance of a program
D.
A task is a single path of execution within a process, a process is a collection of tasks, and a thread is a single instance of a program
·
Question 42
What is the main difference between multiprocessing and multitasking?
A.
Multiprocessing refers to the use of multiple processors to run multiple tasks, while multitasking refers to the ability of an operating system to run multiple tasks simultaneously
B.
Multitasking refers to the use of multiple processors to run multiple tasks, while multiprocessing refers to the ability of an operating system to run multiple tasks simultaneously
C.
Multiprocessing and multitasking are the same thing
D.
Multiprocessing refers to the ability of an operating system to run multiple tasks simultaneously, while multitasking refers to the use of multiple processors to run multiple tasks
·
Question 43
What is the main purpose of task scheduling in an operating system?
A.
To determine which tasks should be run next and allocate resources accordingly
B.
To manage the storage and retrieval of data on a hard disk
C.
To manage the power supply to the computer
D.
To display graphics on a computer screen
·
Question 44
What is the main purpose of task synchronization in an operating system?
A.
To coordinate the actions of multiple tasks to ensure that they work together effectively
B.
To manage the storage and retrieval of data on a hard disk
C.
To manage the power supply to the computer
D.
To display graphics on a computer screen
·
Question 45
What is the main function of a device driver in an operating system?
A.
To provide a standard and consistent interface between the operating system and hardware devices
B.
To provide a secure interface between the operating system and hardware devices
C.
To provide a fast interface between the operating system and hardware devices
D.
To provide a user-friendly interface between the operating system and hardware devices
·
Question 46
What is the main difference between an open-loop and closed-loop control system?
A.
An open-loop control system does not use feedback to control the output, while a closed-loop control system uses feedback to control the output
B.
A closed-loop control system does not use feedback to control the output, while an open-loop control system uses feedback to control the output
C.
An open-loop control system is faster, but less accurate, while a closed-loop control system is slower, but more accurate
D.
An open-loop control system is slower, but more accurate, while a closed-loop control system is faster, but less accurate
·
Question 47
What is the main purpose of control in an operating system?
A.
To regulate the behavior of tasks and processes, and to manage the allocation of resources
B.
To manage the storage and retrieval of data on a hard disk
C.
To manage the power supply to the computer
D.
To display graphics on a computer screen
·
Question 48
What is virtual memory in an operating system?
A.
A feature that enables an operating system to run more applications than the available physical memory by temporarily transferring data to a hard disk
B.
A feature that enables an operating system to run more applications than the available physical memory by temporarily transferring data to a cloud storage
C.
A feature that enables an operating system to run more applications than the available physical memory by temporarily transferring data to a network storage
·
Question 49
What is the main goal of cache memory in a computer system?
A.
To reduce the access time for frequently accessed data
B.
To increase the access time for frequently accessed data
C.
To provide a low-cost memory for storing large amounts of data
D.
To provide a high-capacity memory for storing large amounts of data
·
Question 50
What is the main function of a control unit in a computer system?
A.
To control the flow of data and instructions in the computer system