Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

2025-2026 CNIT 176 1-15 MCQ accurate answers 100%., Exams of Network Programming

2025-2026 CNIT 176 1-15 MCQ accurate answers 100%. 2025-2026 CNIT 176 1-15 MCQ accurate answers 100%. 2025-2026 CNIT 176 1-15 MCQ accurate answers 100%. 2025-2026 CNIT 176 1-15 MCQ accurate answers 100%. 2025-2026 CNIT 176 1-15 MCQ accurate answers 100%. 2025-2026 CNIT 176 1-15 MCQ accurate answers 100%.

Typology: Exams

2024/2025

Available from 03/10/2025

Examprof
Examprof šŸ‡ŗšŸ‡ø

4.1

(24)

2.8K documents

1 / 53

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
2025-2026 CNIT 176 1-15 MCQ accurate
answers 100%.
2025-2026 CNIT 176 1-15 MCQ accurate
answers 100%.
1. What is multiprogramming?
A) Running multiple processors simultaneously
B) Allocating memory to a single program
C) Keeping multiple programs in main memory at the same time
D) Running a single program on multiple computers - ANSWER C
2. What is a frame in memory management?
A) A variable-sized portion of main memory
B) A fixed size portion of main memory that holds a process page
C) A temporary storage for CPU instructions
D) A graphical user interface component - ANSWER B
3. What was the first operating system approach?
A) Multiprogramming
B) Time-sharing
C) Real-time processing
D) Batch processing - ANSWER D
4. What is a page in memory management?
A) A variable-sized portion of a process
B) A fixed size portion of a process that is stored into a memory frame
C) The entire memory allocated to a process
D) A segment of the hard drive - ANSWER B
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35

Partial preview of the text

Download 2025-2026 CNIT 176 1-15 MCQ accurate answers 100%. and more Exams Network Programming in PDF only on Docsity!

answers 100%.

2025 - 2026 CNIT 176 1-15 MCQ accurate

answers 100%.

  1. What is multiprogramming?

A) Running multiple processors simultaneously

B) Allocating memory to a single program

C) Keeping multiple programs in main memory at the same time

D) Running a single program on multiple computers - ANSWER C

  1. What is a frame in memory management?

A) A variable-sized portion of main memory

B) A fixed size portion of main memory that holds a process page

C) A temporary storage for CPU instructions

D) A graphical user interface component - ANSWER B

  1. What was the first operating system approach?

A) Multiprogramming

B) Time-sharing

C) Real-time processing

D) Batch processing - ANSWER D

  1. What is a page in memory management?

A) A variable-sized portion of a process

B) A fixed size portion of a process that is stored into a memory frame

C) The entire memory allocated to a process

D) A segment of the hard drive - ANSWER B

answers 100%.

  1. What does time sharing in operating systems allow?

A) Multiple users to interact with a computer at the same time

B) Only one user to interact with the computer at a time

C) Users to share physical hardware

D) Only system processes to run simultaneously - ANSWER A

  1. What is swapping in memory management?

A) The act of switching off the computer

B) Switching tasks between different CPUs

C) Transferring data between two hard drives

D) The act of bringing in a page from secondary memory, often causing another page to be written back to secondary memory - ANSWER D

  1. What is thrashing in memory management?

A) Efficient processing of multiple pages

B) Inefficient processing caused by constant page swaps

C) Storing all pages in main memory

D) Defragmenting the hard drive - ANSWER B

  1. How many programs are in memory in single contiguous memory management?

A) Only 1 program

B) 2 programs - operating system and application program

C) Multiple programs in a queue

D) No programs, only the operating system - ANSWER A

  1. What is a process control block (PCB)?

A) A program loaded into memory

B) A data structure used by the operating system to manage information about a process

answers 100%.

  1. How are partitions created in dynamic partition memory management?

A) As needed to fit the programs waiting to be loaded

B) At system startup

C) Only once when the system is installed

D) By the user manually - ANSWER A

  1. In non-preemptive scheduling, when does the currently executing process give up the CPU?

A) Voluntarily

B) When the system decides

C) At a fixed time interval

D) When a higher priority process arrives - ANSWER A

  1. In preemptive scheduling, who decides to favor another process?

A) The user

B) The currently executing process

C) The operating system

D) The hardware - ANSWER C

  1. What is turnaround time in process scheduling?

A) The time taken to switch between processes

B) The amount of time between when a process arrives in the ready state the first time and when it exits the running state for the last time

C) The time a process spends in the waiting state

D) The time taken for a process to execute an instruction - ANSWER B

  1. What happens in the round robin scheduling algorithm?

A) Each process runs until it finishes

answers 100%.

B) Each process runs for a specified time slice and then moves to the ready state to wait its turn if not finished

C) Processes run based on their priority

D) Only one process runs at a time until the system is restarted - ANSWER B

  1. What does a bounds register hold?

A) The base address of the current partition

B) The process ID

C) The memory address of the next process

D) The length of the current partition - ANSWER D

  1. What is a quantum in CPU scheduling?

A) The time taken to complete a process

B) The time each process receives before being preempted and returned to the ready state to allow another process its turn

C) The number of processes in the ready state

D) The number of instructions executed per cycle - ANSWER B

  1. In the first fit memory allocation algorithm, where is the program allocated?

A) To the smallest partition big enough to hold it

B) To the largest partition available

C) To the first partition big enough to hold it

D) To a dynamically created partition - ANSWER C

  1. In the best fit memory allocation algorithm, where is the program allocated?

A) To the smallest partition big enough to hold it

B) To the largest partition available

C) To the first partition big enough to hold it

answers 100%.

A) Halts the program

B) Assembly equivalent of a goto command

C) Loads data from memory

D) Stores data to memory - ANSWER B

  1. What is the active partition on a hard drive?

A) The partition with the most data

B) The partition used for backup

C) Partition on a hard drive where the OS boots off of, also called a bootable partition

D) The partition used for temporary storage - ANSWER C

  1. What is the boot menu?

A) A menu for selecting files to delete

B) A menu for configuring network settings

C) A menu for creating new partitions

D) A menu for selecting a bootable device to load when a computer is booting up - ANSWER D

  1. What is a bootloader?

A) A program that loads an operating system when a computer is turned on

B) A program that manages memory allocation

C) A program that controls peripheral devices

D) A program that monitors system performance - ANSWER A

  1. What is the OS kernel?

A) The user interface of the operating system

B) Communicates with and controls the hardware

C) The file management system

answers 100%.

D) The network communication module - ANSWER B

  1. What is EEPROM used for in a computer system?

A) Storing user data

B) Storing the BIOS code, considerably hardware-specific

C) Storing temporary files

D) Storing application software - ANSWER B

  1. What does dual/multibooting support?

A) Loading a single operating system

B) Connecting multiple hardware devices

C) Running multiple processes simultaneously

D) Loading multiple operating systems - ANSWER D

  1. What does POST stand for in the boot process?

A) Pre-Operating System Test

B) Peripheral Operating System Test

C) Power-On Self Test

D) Process Operating System Test - ANSWER C

  1. What is NTLDR?

A) A memory management tool

B) The default bootloader for Windows NT, 2000, and XP

C) A file compression utility

D) A network configuration tool - ANSWER B

  1. What is BOOTMGR?

answers 100%.

C) An electromechanical device that contains and reads and writes magnetic disks, optical discs or magnetic tapes

D) A peripheral device - ANSWER C

  1. What is the purpose of filesystem drivers?

A) Managing network connections

B) Giving the bootloader the ability to read, at the very least, the filesystem it is located on

C) Managing memory allocation

D) Controlling peripheral devices - ANSWER B

  1. What is firmware?

A) Temporary software

B) A type of application software

C) Permanent software programmed into read-only memory

D) A type of network protocol - ANSWER C

  1. What is the UEFI?

A) A type of temporary storage

B) An advanced interface standard of firmware for operating system compared to legacy BIOS

C) A network configuration tool

D) A memory management utility - ANSWER B

  1. What is the GUID partition table?

A) A backup utility

B) A file encryption tool

C) A standard for the layout of the partition table on a physical storage device using globally unique identifiers

D) A memory allocation algorithm - ANSWER C

answers 100%.

  1. What do EFI files define?

A) The network settings

B) The interface between platform firmware and a user's operating system

C) The memory allocation

D) The file encryption - ANSWER B

  1. What is an EFI system partition?

A) A backup partition

B) A network partition

C) A special partition on the hard drive that the UEFI file is stored

D) A temporary storage partition - ANSWER C

  1. Which of the following is a block device?

A) Keyboard

B) Standard magnetic disk

C) Mouse

D) Monitor - ANSWER B

  1. Which of the following is a file operation?

A) Read a number of bytes from file

B) Open a network connection

C) Allocate memory

D) Start a peripheral device - ANSWER A

  1. What is a file in computing?

A) A piece of hardware

answers 100%.

  1. What does MFT stand for in NTFS?

A) Memory File Table

B) Master File Table

C) Multi File Table

D) Managed File Table - ANSWER B

  1. What is a cluster in file systems?

A) A single block

B) A file

C) A directory

D) Groups of one or more blocks - ANSWER D

  1. What does it mean for a file to be contiguous?

A) The blocks that hold the file are scattered all over the device

B) The blocks that hold a particular file are stored together

C) The file is stored in the cloud

D) The file is encrypted - ANSWER B

  1. What does it mean for a file to be non-contiguous?

A) The blocks that hold the file are stored together

B) The blocks that hold a particular file are scattered all over the device

C) The file is stored in the cloud

D) The file is encrypted - ANSWER B

  1. What is an i-node in file systems?

A) A type of network node

answers 100%.

B) Indexed file allocation structure

C) A type of memory allocation

D) A type of file compression - ANSWER B

  1. What is random/relative access in file systems?

A) Data files whose records can be retrieved from anywhere in the file random sequence

B) Data files accessed sequentially

C) Data files stored in the cloud

D) Data files encrypted - ANSWER A

  1. What is indexed access in file systems?

A) Accessing files sequentially

B) Encrypting files

C) Accessing files in the cloud

D) Additional means for accessing and viewing records in a file - ANSWER D

61.What is the logical view of memory?

A) Actual address in main memory

B) Reference to a stored value relative to the program making the reference

C) Physical layout of memory

D) Hardware-specific view - ANSWER B

  1. What is the physical view of memory?

A) Reference to a stored value relative to the program making the reference

B) Network layout

C) Abstract representation of memory

D) Actual address in main memory - ANSWER D

answers 100%.

B) A search algorithm that jumps directly to the target item

C) A search algorithm that divides the list in half

D) A search algorithm that uses a binary tree - ANSWER A

  1. What is an algorithm?

A) A type of hardware

B) A set of unambiguous instructions for solving a problem or subproblem in a finite amount of time using a finite amount of data

C) A network protocol

D) A file compression tool - ANSWER B

  1. What is an abstract step in an algorithm?

A) A step with all details specified

B) A step with unspecified details

C) A physical step

D) A network step - ANSWER B

  1. What is a concrete step in an algorithm?

A) An abstract step

B) A step with unspecified details

C) An abstract representation of a step

D) A step with all details specified - ANSWER D

  1. What is a record in computing?

A) A type of file

B) A piece of hardware

C) A named heterogeneous collection of items in which individual items are accessed by name

D) A network protocol - ANSWER C

answers 100%.

72.What is an array in computing?

A) A type of file

B) A piece of hardware

C) A network protocol

D) A named homogeneous collection of items - ANSWER D

  1. What is a control structure in programming?

A) A named homogeneous collection of items

B) A type of network protocol

C) A file management tool

D) An instruction that determines the order in which other instructions in a program are executed - ANSWER D

  1. Is the statement true or false: The underlying storage for filesystems is represented by blocks.

A) True

B) False - ANSWER A

  1. Is the statement true or false: The best choice for removable storage (USB sticks) is currently NTFS.

A) True

B) False - ANSWER B

  1. Is the statement true or false: The hierarchy of file storage is disk, volume, partition, file system, directory, file.

A) True

B) False - ANSWER A

answers 100%.

A) True

B) False - ANSWER B

Is the statement true or false: Operating system manages hardware resources.

A) True

B) False - ANSWER A

Is the statement true or false: Operating system manages processes, which are programs currently being executed.

A) True

B) False - ANSWER A

Is the statement true or false: Operating system is itself just a program that takes its turn being executed by CPU.

A) True

B) False - ANSWER A

Is the statement true or false: Response time is the delay between receiving a stimulus and responding to it.

A) True

B) False - ANSWER A

Is the statement true or false: A program may often make reference to variables' physical addresses in memory.

A) True

B) False - ANSWER B

Is the statement true or false: In paged memory management, memory is organized in fixed size page frames.

answers 100%.

A) True

B) False - ANSWER A

Is the statement true or false: Pages do not necessarily have to be contiguous in paged memory management.

A) True

B) False - ANSWER A

Is the statement true or false: In first-come, first-served CPU scheduling, the shortest jobs are carried out first.

A) True

B) False - ANSWER B

Is the statement true or false: In round-robin scheduling, each process is given an equal time slice to be executed.

A) True

B) False - ANSWER A

Is the statement true or false: Context switching is moving the CPU from one process to another.

A) True

B) False - ANSWER A

Is the statement true or false: The logical address is the actual address in main memory.

A) True

B) False - ANSWER B

Is the statement true or false: A process in the Ready state is waiting for user input.

A) True