0% found this document useful (0 votes)
92 views837 pages

COMPLETE OS - Merged

Computer notes

Uploaded by

ag0216205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views837 pages

COMPLETE OS - Merged

Computer notes

Uploaded by

ag0216205
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 837

Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important
Most Important Operating
Computer SystemQuestion
Fundamentals Question ( Mission
( Mission Bihar
Bihar STET STET
2023 ) 2023 )

BASIC
OPERATING SYSTEM
500 + QUESTIONS
DAY - 1
Most Important Operating System Question ( Mission Bihar STET 2023 )

1. Operating System Is a Which Type Of


Software ?
a) Utility Software
b) Application Software
c) System software
d) Firmware Software
Most Important Operating System Question ( Mission Bihar STET 2023 )

2. Which of the following is not an operating


system?
a) Windows
b) Linux
c) Oracle
d) DOS
Most Important Operating System Question ( Mission Bihar STET 2023 )

3. The function of an operating system is


a) Memory Management
b) Process Management
c) Disks and I/O device Management
d) All of the above
Most Important Operating System Question ( Mission Bihar STET 2023 )

4. What is the Process by which the operating


system is loaded into the memory?
a) Booting
b) Processing
c) Loading
d) None of the above
Most Important Operating System Question ( Mission Bihar STET 2023 )

5. What is the maximum length of the


filename in DOS?
a) 4
b) 5
c) 8
d) 12
Most Important Operating System Question ( Mission Bihar STET 2023 )

6. What is the mean of the Booting in the


operating system?
a) Restarting computer
b) Install the program
c) To scan
d) To turn off
Most Important Operating System Question ( Mission Bihar STET 2023 )

7. When does page fault occur?


a) The page is present in memory.
b) The deadlock occurs.
c) The page does not present in memory.
d) The buffering occurs.
Most Important Operating System Question ( Mission Bihar STET 2023 )

8. When you delete a file in your computer,


where does it go?
a) Recycle bin
b) Hard disk
c) Taskbar
d) None of these
Most Important Operating System Question ( Mission Bihar STET 2023 )

9. Which is the Linux operating system?


a) Private operating system
b) Windows operating system
c) Open-source operating system
d) None of these
Most Important Operating System Question ( Mission Bihar STET 2023 )

10. What is bootstrapping called?


a) Cold boot
b) Cold hot boot
c) Cold hot strap
d) Hot boot
Most Important Operating System Question ( Mission Bihar STET 2023 )

11. What is the fence register used for?


a) To disk protection
b) To CPU protection
c) To memory protection
d) None of these
Most Important Operating System Question ( Mission Bihar STET 2023 )

12. Which of the following is a single-user


operating system?
a) Windows
b) MAC
c) Ms-Dos
D) None of these
Most Important Operating System Question ( Mission Bihar STET 2023 )

13. Which of the following is not application


software?
a) Windows 7
b) WordPad
c) Photoshop
d) MS-excel
Most Important Operating System Question ( Mission Bihar STET 2023 )

14. Which of the following supports Windows 64


bit?
a) Window XP
b) Window 2000
c) Window 1998
d) None of these
Most Important Operating System Question ( Mission Bihar STET 2023 )

15. Which of the following windows does not


have a start button?
a) Windows 7
b) Windows 8
c) Windows XP
d) None of these
Most Important Operating System Question ( Mission Bihar STET 2023 )

16. Which of the following operating systems


does not support more than one program at a
time?
a) Linux
b) Windows
c) MAC
d) DOS
Most Important Operating System Question ( Mission Bihar STET 2023 )

17. Who provides the interface to access the


services of the operating system?
a) API
b) System call
c) Library
d) Assembly instruction
Most Important Operating System Question ( Mission Bihar STET 2023 )

18. BIOS is used?


a) By operating system
b) By compiler
c) By interpreter
d) By application software
Most Important Operating System Question ( Mission Bihar STET 2023 )

19. Which of the following does not interrupt


the running process?
a) Timer interrupt
b) Device
c) Power failure
d) Scheduler process
Most Important Operating System Question ( Mission Bihar STET 2023 )

20. What is Microsoft window?


a) Operating system
b) Graphics program
c) Word Processing
d) Database program
Most Important Operating System Question ( Mission Bihar STET 2023 )

21. Which of the following is group of programs?


a) Accessories
b) Paint
c) Word
d) All of above
Most Important Operating System Question ( Mission Bihar STET 2023 )

22. Which of the following is an example of


a Real Time Operating System?
a) MAC
b) MS-DOS
c) Windows 10
c) Process Control
Most Important Operating System Question ( Mission Bihar STET 2023 )

23. Which of the following operating systems do


you use for a client-server network?
a) MAC
b) Linux
c) Windows XP
d) Windows 2000
Most Important Operating System Question ( Mission Bihar STET 2023 )

24. Which windows was introduced to My


Computer?
a) Windows 10
b) Windows XP
c) Windows 95
d) Windows 98
Most Important Operating System Question ( Mission Bihar STET 2023 )

25. Which of the following is system


software?
a) Operating system
b) Compiler
c) Utilities
d) All of the above
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

26. Which of the following options is correct about


the windows operating system?
a) Windows is a Open Source operating system.
b) Windows is based on CUI.
c) Windows is a GUI operating system.
d) None of the these
Most Important Operating System Question ( Mission Bihar STET 2023 )

27. Which of the following operating system


does not require a command to run?
a) Kali Linux
b) Windows
c) Unix
d) All of the these
Most Important Operating System Question ( Mission Bihar STET 2023 )

28. Which program runs first after booting


the computer and loading the GUI?
a) Desktop Manager
b) File Manager
c) Windows Explorer
d) Authentication
Most Important Operating System Question ( Mission Bihar STET 2023 )

29. Which of the following programs is


loaded first when starting a computer?
a) Window desktop
b) Network connection program
c) Operating system
d) CMD
Most Important Operating System Question ( Mission Bihar STET 2023 )

30. The operating system work between


a) User and Computer
b) Network and User
c) One user to another user
d) All of the these
Most Important Operating System Question ( Mission Bihar STET 2023 )

31. A Process Control Block(PCB) does not


contain which of the following
a) Code
b) Stack
c) Bootstrap program
d) Data
Most Important Operating System Question ( Mission Bihar STET 2023 )

32. Buffer is a ___________.


a) Permanent area
b) Temporary area
c) Small area
d) Large area
Most Important Operating System Question ( Mission Bihar STET 2023 )

33. Which of the following operating


systems supports only real-time
applications?
a) Batch OS
b) Distributed OS
c) Real-time OS
d) Network OS
Most Important Operating System Question ( Mission Bihar STET 2023 )

34. What is Kali Linux?


a) Network device
b) Operating system
c) Server name
d) Computer name
Most Important Operating System Question ( Mission Bihar STET 2023 )

35. SSTF stands for ________.


a) Shortest Signal Time First
b) Shortest Seek Time First
c) System Seek Time First
d) System Shortest Time First
Most Important Operating System Question ( Mission Bihar STET 2023 )

36. Which of the following operating


systems require a command to run?
a) Kali Linux
b) Windows
c) Mac OS
d) Single-user operating system
Most Important Operating System Question ( Mission Bihar STET 2023 )

37. In Operating Systems, which of the


following is/are CPU scheduling algorithms?
a) Priority
b) Round Robin
c) Shortest Job First
d) All of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

38. CPU scheduling is the basis of ________


a) multiprogramming operating systems
b) larger memory sized systems
c) multiprocessor systems
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

39. Which one of the following is not true?


a) kernel remains in the memory during the entire computer
session
b) kernel is made of various modules which can not be loaded
in running operating system
c) kernel is the first part of the operating system to load into
memory during booting
d) kernel is the program that constitutes the central core of
the operating system
Most Important Operating System Question ( Mission Bihar STET 2023 )

40. Which one of the following errors will


be handle by the operating system?
a) lack of paper in printer
b) connection failure in the network
c) power failure
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

41. In operating system, each process has


its own __________
a) open files
b) pending alarms, signals, and signal
handlers
c) address space and global variables
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

42. The main memory accommodates _____


a) user processes
b) operating system
c) Both
d) None
Most Important Operating System Question ( Mission Bihar STET 2023 )

43. The operating system is responsible for?


a) bad-block recovery
b) booting from disk
c) disk initialization
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

44. The information about all files is kept in


a) operating system
b) separate directory structure
c) swap space
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

45. Banker's algorithm is used?


a) To prevent deadlock
b) To deadlock recovery
c) To solve the deadlock
d) None of these
Most Important Operating System Question ( Mission Bihar STET 2023 )

46. An increase in a computer’s RAM leads


to a typical improvement in performance
because
a) Fewer page faults occur
b) Virtual memory increases
c) Fewer segmentation faults occur
d) A larger RAM is faster
Most Important Operating System Question ( Mission Bihar STET 2023 )

47. The systems which allows only one


process execution at a time, are called
a) uniprogramming systems
b) uniprocessing systems
c) unitasking systems
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

48. What is interprocess communication?


a) communication within the process
b) communication between two process
c) communication between two threads of
same process1-5
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

49. The address of the next instruction to be


executed by the current process is provided
by the
a) CPU registers
b) program counter
c) process stack
d) pipe
Most Important Operating System Question ( Mission Bihar STET 2023 )

50. Which of the following is the feature of


the operating system?
a) Error detection aids
b) Control over system performance
c) Job Accounting
d) Coordination between other software
and users
e) All of the above
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC
TYPES OF
OPERATION SYSTEM
Most Important Operating System Question ( Mission Bihar STET 2023 )

TYPES OF OPERATION SYSTEM


▪ Batch operating system
▪ Multiprogramming Operating System
▪ Multitasking Operating System
▪ Time-sharing operating systems
▪ Distributed operating System
▪ Network operating System
▪ Real Time operating System
Most Important Operating System Question ( Mission Bihar STET 2023 )

51. Which of the following operating system does not


interact with the computer directly, in fact in this
operating system each user prepares his job in an
offline device and submits it to the computer?
a) Batch Operating system
b) Multitasking Operating System
c) Time-sharing Operating System
d) Distributed Operating System
Most Important Operating System Question ( Mission Bihar STET 2023 )

52. ____ Operating system is a technique that


enables many people, located at various terminals,
to use a particular computer system at the same
time?
a) Batch Operating system
b) Multitasking Operating System
c) Time-sharing Operating System
d) Distributed Operating System
Most Important Operating System Question ( Mission Bihar STET 2023 )

53. Which of the following is not a feature of the


batch Operating system?
a) Large turnaround time
b) It is very easy to debug the program in this
operating system
c) Other pending jobs are affected due to a lack of
protection schemes

d) None
Most Important Operating System Question ( Mission Bihar STET 2023 )

54. Which of the following Operating systems use


multiple central processors to serve multiple real-
time applications and multiple users?
a) Batch Operating system
b) Multitasking Operating System
c) Time-sharing Operating System
d) Distributed Operating System
Most Important Operating System Question ( Mission Bihar STET 2023 )

55. Which of the following Operating systems runs


on a server and provides the server the capability
to manage data, users, groups, etc?
a) Batch Operating system
b) Network operating system
c) Mobile Operating system
d) Real-time Operating system
Most Important Operating System Question ( Mission Bihar STET 2023 )

56. How many types of real-time Operating systems


are there?
a) 3
b) 2
c) 5
d) 6
Most Important Operating System Question ( Mission Bihar STET 2023 )

57. What is a bootstrap program?


a) It is the first code that is executed when the
computer system is started
b) It is the program that helps in restarting the
system
c) It is just a simple program like we have other
programs in a system

d) None
Most Important Operating System Question ( Mission Bihar STET 2023 )

58. ____ is the heart of an operating system?


a) Software
b) Programs
c) CPU
d) Kernel
Most Important Operating System Question ( Mission Bihar STET 2023 )

59. In which type of kernel does the entire


operating system run as a single program?
a) Monolithic kernel
b) Microkernel kernels
c) Hybrid Kernels
d) Nano Kernels
e) Exo kernels
Most Important Operating System Question ( Mission Bihar STET 2023 )

60. Which of the following kernel reduces the level


of abstraction provided by operating systems and
allows application-level management of hardware
resources as much as possible?
a) Exo Kernels
b) Hybrid Kernels
c) Nano Kernels
d) Monolithic Kernel
Most Important Operating System Question ( Mission Bihar STET 2023 )

61. Which of the following is the main


advantage of a microprocessor system?
a) Increased throughput
b) Economy of scale
c) Increased reliability
d) All of the above
Most Important Operating System Question ( Mission Bihar STET 2023 )

62. Which of the following activities are


managed by disk management ____?
a) Free space management
b) Storage allocation
c) Disk scheduling
d) All of the above
Most Important Operating System Question ( Mission Bihar STET 2023 )

63. Which of the type of OS reads and reacts


in terms of actual time?
a) Batch OS
b) Quick Sharing OS
c) Time Sharing OS
d) Real Time OS
Most Important Operating System Question ( Mission Bihar STET 2023 )

64. ____ is the interface between the


command language user and the OS.
a) Kernel
b) System Utilities
c) Shell
d) None
Most Important Operating System Question ( Mission Bihar STET 2023 )

65. The technique that increases the


system’s productivity.
a) multiprogramming
b) multitasking
c) multiprocessing
d) single-programming
Most Important Operating System Question ( Mission Bihar STET 2023 )

66. Programs are executed on the basis of


a priority number in a
a) Batch processing system
b) Multiprogramming
c) Time sharing
d) None of these
Most Important Operating System Question ( Mission Bihar STET 2023 )

67. Multiprogramming is mainly


accomplished by:
a) os
b) software
c) hardware
d) program
Most Important Operating System Question ( Mission Bihar STET 2023 )

68. A technique that allows more than one program


to be ready for execution and provides the ability to
switch from one process to another.
a) multitasking
b) multiprocessing
c) multitasking
d) multiprogramming
Most Important Operating System Question ( Mission Bihar STET 2023 )

69. Which of the following works by dividing


the processor’s time?
a) single task operating system
b) multitask operating system
c) kernel
d) applications
Most Important Operating System Question ( Mission Bihar STET 2023 )

70. Which of the following provides a time


period for the context switch?
a) timer
b) counter
c) time slice
d) time machine
Most Important Operating System Question ( Mission Bihar STET 2023 )

71. Which interrupt provides system clock in


the context switching?
a) software interrupt
b) hardware interrupt
c) peripheral
d) memory
Most Important Operating System Question ( Mission Bihar STET 2023 )

72. The special tale in the multitasking


operating system is also known as
a) task control block
b) task access block
c) task address block
d) task allocating block
Most Important Operating System Question ( Mission Bihar STET 2023 )

73. Which of the following can implement


the message passing and control?
a) application software
b) operating system
c) software
d) kernel
Most Important Operating System Question ( Mission Bihar STET 2023 )

74. Which of the following controls the


time slicing mechanism in a multitasking
operating system?
a) kernel
b) single tasking kernel
c) multitasking kernel
d) application manager
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC
PROCESS
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which of the following is true about Process?


A. A process is basically a program in execution
B. The execution of a process must progress in a
sequential fashion.
C. A process is defined as an entity which represents
the basic unit of work to be implemented in the system.
D. All of the above
Most Important Operating System Question ( Mission Bihar STET 2023 )

This is dynamically allocated memory to a process


during its run time.
A. Heap
B. Stack
C. Queue
D. Data
Most Important Operating System Question ( Mission Bihar STET 2023 )

How many state are there in Process Life


Cycle?
A. 4
B. 5
C. 6
D. 7
Most Important Operating System Question ( Mission Bihar STET 2023 )

In Unix, Which system call creates the new


process?
a) fork
b) create
c) new
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

A process can be terminated due to ________


a) normal exit
b) fatal error
c) killed by another process
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

What is the ready state of a process?


a) when process is scheduled to run after some
execution
b) when process is unable to run until some task
has been completed
c) when process is using the CPU
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

What is interprocess communication?


a) communication within the process
b) communication between two process
c) communication between two threads of
same process
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

A set of processes is deadlock if __________


a) each process is blocked and will remain
so forever
b) each process is terminated
c) all processes are trying to kill each other
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

A process stack does not contain __________


a) Function parameters
b) Local variables
c) Return addresses
d) PID of child process
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which system call can be used by a parent


process to determine the termination of
child process?
a) wait
b) exit
c) fork
d) get
Most Important Operating System Question ( Mission Bihar STET 2023 )

The address of the next instruction to be


executed by the current process is provided
by the __________
a) CPU registers
b) Program counter
c) Process stack
d) Pipe
Most Important Operating System Question ( Mission Bihar STET 2023 )

This section contains the global and static


variables.
a) Heap
b) Stack
c) Data
d) Text
Most Important Operating System Question ( Mission Bihar STET 2023 )

A part of a computer program that


performs a well-defined task is known as ?
a) algorithm
b) software
c) program
d) task
Most Important Operating System Question ( Mission Bihar STET 2023 )

PCB stands for?


a) Process Current Block
b) Parent Control Block
c) Parent Current Block
d) Process Control Block
Most Important Operating System Question ( Mission Bihar STET 2023 )

In which state, processor executes its


instructions?
a) Ready
b) Waiting
c) Running
d) Start
Most Important Operating System Question ( Mission Bihar STET 2023 )

The processes which are blocked due to


unavailability of an I/O device constitute
this queue.
a) Process Scheduling Queues
b) Job queue
c) Ready queue
d) Device queues
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC
PROCESS SCHEDULER
Most Important Operating System Question ( Mission Bihar STET 2023 )
PROCESS SCHEDULER
Long Term or job scheduler:
It brings the new process to the ‘Ready State’. It controls the Degree of Multi-
programming, i.e., the number of processes present in a ready state at any point in time

Short-term or CPU scheduler:


It is responsible for selecting one process from the ready state for scheduling it on the
running state.
The dispatcher is responsible for loading the process selected by the Short-term
scheduler on the CPU (Ready to Running State) Context switching is done by the
dispatcher only.

Medium-term scheduler:
It is responsible for suspending and resuming the process. It mainly does swapping
(moving processes from main memory to disk and vice versa).
It reduces the degree of multiprogramming.
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which one of the following is also called


job scheduler ?
a) Long term scheduler
b) ) Short term scheduler
c) ) Mid term scheduler
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which one of the following scheduler


reduce the degree of multiprogramming ?
a) Long term scheduler
b) Short term scheduler
c) Mid term scheduler
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which module gives control of the process


selected by the short term schedular?
a) Dispatcher
b) Interrupt
c) Schedular
d) Threading
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which one of the following schedulers is


the fastest ?
a) medium Term Scheduler
b) Short Term Scheduler
c) Job Scheduler
d) Long Term Scheduler
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which module gives control of the CPU to


the process selected by the short-term
scheduler?
a) dispatcher
b) interrupt
c) scheduler
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

The processes that are residing in main


memory and are ready and waiting to
execute are kept on a list called
a) job queue
b) ready queue
c) execution queue
d) process queue
Most Important Operating System Question ( Mission Bihar STET 2023 )

The interval from the time of submission of


a process to the time of completion is
termed as ____________
a) waiting time
b) turnaround time
c) response time
d) throughput
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which scheduling algorithm allocates the


CPU first to the process that requests the
CPU first?
a) first-come, first-served scheduling
b) shortest job scheduling
c) priority scheduling
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

In priority scheduling algorithm ____________


a) CPU is allocated to the process with highest
priority
b) CPU is allocated to the process with lowest
priority
c) Equal priority processes can not be scheduled
d) None of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

In priority scheduling algorithm, when a


process arrives at the ready queue, its
priority is compared with the priority of ___
a) all process
b) currently running process
c) parent process
d) init process
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which algorithm is defined in Time


quantum?
a) shortest job scheduling algorithm
b) round robin scheduling algorithm
c) priority scheduling algorithm
d) multilevel queue scheduling algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

Process are classified into different groups in __


a) shortest job scheduling algorithm
b) round robin scheduling algorithm
c) priority scheduling algorithm
d) multilevel queue scheduling algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

In multilevel feedback scheduling algorithm _____


a) a process can move to a different classified
ready queue
b) classification of ready queue is permanent
c) processes are not classified into groups
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

What type of scheduling is round-robin


scheduling?
a) Linear data scheduling
b) Non-linear data scheduling
c) Preemptive scheduling
d) Non-preemptive scheduling
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which of the following scheduling


algorithms is preemptive scheduling?
a) FCFS Scheduling
b) SJF Scheduling
c) Network Scheduling
d) SRTF Scheduling
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Important Topic ( Mission Bihar STET 2023 )

Difference Between
Multiprogramming And Multitasking
Important
Most Topic System
Important Operating ( Mission Bihar
Question STET
( Mission 2023
Bihar STET)2023 )

Multiprogramming Multitasking
▪ The process resides in the ▪ The process resides in the same CPU.
main memory. ▪ Multitasking follows the concept of

▪ Non Preemptive context switching.

▪ Response Time Slow ▪ Preemptive


▪ Response Time Fast (Responsive )
( Idleness )
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

Topic
CPU Scheduling Algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ First Come First Serve


▪ Shortest Job First
▪ Shortest Remaining Time First
▪ Longest Job First
▪ Longest Remaining Time First
▪ Priority Scheduling
▪ Round Robin Scheduling
Most Important Operating System Question ( Mission Bihar STET 2023 )
IMPORTANT POINT
Arrival Time: Time at which the process arrives in the ready queue.

Completion Time: Time at which process completes its execution.

Burst Time: Time required by a process for CPU execution.

Turn Around Time: Time Difference between completion time and arrival time.

Turn Around Time = Completion Time – Arrival Time

Waiting Time(W.T): Time Difference between turn around time and burst time.

Waiting Time = Turn Around Time – Burst Time


Most Important Operating System Question ( Mission Bihar STET 2023 )

FCFS
▪ The process which arrives first in the ready queue is firstly assigned the CPU.
▪ In case of a tie, process with smaller process id is executed first.
▪ It is always non-preemptive in nature.
▪ It does not consider the priority or burst time of the processes.
▪ It suffers from convoy effect.

In convoy effect,
•Consider processes with higher burst time arrived before the processes with
smaller burst time.
•Then, smaller processes have to wait for a long time for longer processes to
release the CPU.
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

A
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

Topic
CPU Scheduling Algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ First Come First Serve


▪ Shortest Job First
▪ Shortest Remaining Time First
▪ Longest Job First
▪ Longest Remaining Time First
▪ Priority Scheduling
▪ Round Robin Scheduling
Most Important Operating System Question ( Mission Bihar STET 2023 )
IMPORTANT POINT
▪ Out of all the available processes, CPU is assigned to the process having smallest burst time.
▪ In case of a tie, it is broken by FCFS Algorithm
▪ SJF Scheduling can be used in both preemptive and non-preemptive mode.
▪ Preemptive mode of Shortest Job First is called as Shortest Remaining Time First (SRTF).
Advantages-
▪ SRTF is optimal and guarantees the minimum average waiting time.
▪ It provides a standard for other algorithms since no other algorithm performs better than it.
Disadvantages-
▪ It can not be implemented practically since burst time of the processes can not be known in advance.
▪ It leads to starvation for processes with larger burst time.
▪ Priorities can not be set for the processes.
▪ Processes with larger burst time have poor response time.
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

Topic
CPU Scheduling Algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ First Come First Serve


▪ Shortest Job First
▪ Shortest Remaining Time First
▪ Longest Job First
▪ Longest Remaining Time First
▪ Priority Scheduling
▪ Round Robin Scheduling
Most Important Operating System Question ( Mission Bihar STET 2023 )
IMPORTANT POINT
▪ Out of all the available processes, CPU is assigned to the process having largest burst
time.
▪ In case of a tie, it is broken by FCFS Scheduling.
▪ LJF Scheduling can be used in both preemptive and non-preemptive mode.
▪ Preemptive mode of Longest Job First is called as Longest Remaining Time First
(LRTF).

Advantages-
▪ No process can complete until the longest job also reaches its completion.
▪ All the processes approximately finishes at the same time.

Disadvantages-
▪ The waiting time is high.
▪ Processes with smaller burst time may starve for CPU.
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

Topic
CPU Scheduling Algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ First Come First Serve


▪ Shortest Job First
▪ Shortest Remaining Time First
▪ Longest Job First
▪ Longest Remaining Time First
▪ Priority Scheduling
▪ Round Robin Scheduling
Most Important Operating System Question ( Mission Bihar STET 2023 )

Important Notes
In Priority Scheduling,
▪ Out of all the available processes, CPU is assigned to the process having the highest
priority.
▪ In case of a tie, it is broken by FCFS Scheduling.
▪ Priority Scheduling can be used in both preemptive and non-preemptive mode.

Advantages-
▪ It considers the priority of the processes and allows the important processes to run
first.
▪ Priority scheduling in preemptive mode is best suited for real time operating system.

Disadvantages-
▪ Processes with lesser priority may starve for CPU.
▪ There is no idea of response time and waiting time.
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

Topic
CPU Scheduling Algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ First Come First Serve


▪ Shortest Job First
▪ Shortest Remaining Time First
▪ Longest Job First
▪ Longest Remaining Time First
▪ Priority Scheduling
▪ Round Robin Scheduling
Most Important Operating System Question ( Mission Bihar STET 2023 )

Important Notes
▪ CPU is assigned to the process on the basis of FCFS for a fixed amount of time.
▪ This fixed amount of time is called as time quantum or time slice.
▪ After the time quantum expires, the running process is preempted and sent to the ready queue.
▪ Then, the processor is assigned to the next arrived process.
▪ It is always preemptive in nature.

✓ Round Robin Scheduling is FCFS Scheduling with preemptive mode.

Advantages-

▪ It gives the best performance in terms of average response time.


▪ It is best suited for time sharing system, client server architecture and interactive system.

Disadvantages-

▪ It leads to starvation for processes with larger burst time as they have to repeat the cycle many times.
▪ Its performance heavily depends on time quantum.
▪ Priorities can not be set for the processes.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Important Notes-

Note-01:
With decreasing value of time quantum,
▪ Number of context switch increases
▪ Response time decreases
▪ Chances of starvation decreases

Note-02:

With increasing value of time quantum,


▪ Number of context switch decreases
▪ Response time increases
▪ Chances of starvation increase
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC
Inter - process Communication /
Process Synchronization
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which process can be affected by other


processes executing in the system?
a) cooperating process
b) child process
c) parent process
d) init process
Most Important Operating System Question ( Mission Bihar STET 2023 )

When several processes access the same data


concurrently and the outcome of the execution
depends on the particular order in which the
access takes place is called ________
a) dynamic condition
b) race condition
c) essential condition
d) critical condition
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
What is a semaphore?
a) is a binary mutex
b) must be accessed from only one process
c) can be accessed from multiple processes
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

If a process is executing in its critical section, then


no other processes can be executing in their critical
section. What is this condition called?
a) mutual exclusion
b) critical exclusion
c) synchronous exclusion
d) asynchronous exclusion
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which one of the following is a synchronization


tool?
a) thread
b) pipe
c) semaphore
d) socket
Most Important Operating System Question ( Mission Bihar STET 2023 )

A semaphore is a shared integer variable _____


a) that can not drop below zero
b) that can not be more than zero
c) that can not drop below one
d) that can not be more than one
Most Important Operating System Question ( Mission Bihar STET 2023 )

Mutual exclusion can be provided by the ______


a) mutex locks
b) binary semaphores
c) both mutex locks and binary semaphores
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

When high priority task is indirectly preempted by


medium priority task effectively inverting the
relative priority of the two tasks, the scenario is
called __________
a) priority inversion
b) priority removal
c) priority exchange
d) priority modification
Most Important Operating System Question ( Mission Bihar STET 2023 )

Process synchronization can be done on ______


a) hardware level
b) software level
c) both hardware and software level
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

A monitor is a module that encapsulates __________


a) shared data structures
b) procedures that operate on shared data structure
c) synchronization between concurrent procedure
invocation
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

What is Interprocess communication?


a) allows processes to communicate and synchronize their
actions when using the same address space
b) allows processes to communicate and synchronize their
actions
c) allows the processes to only synchronize their actions
without communication
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
Which of the following two operations are
provided by the IPC facility?
a) write & delete message
b) delete & receive message
c) send & delete message
d) receive & send message
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
In the non blocking send __________
a) the sending process keeps sending until the message is
received
b) the sending process sends the message and resumes
operation
c) the sending process keeps sending until it receives a
message
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
Semaphore is a/an _______ to solve the critical section
problem.
a) hardware for a system
b) special program for a system
c) integer variable
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
What are the two atomic operations permissible on
semaphores?
a) wait
b) stop
c) hold
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
The wait operation of the semaphore basically
works on the basic _______ system call.
a) stop()
b) block()
c) hold()
d) wait()
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
The signal operation of the semaphore basically
works on the basic _______ system call.
a) continue()
b) wakeup()
c) getup()
d) start()
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
The code that changes the value of the semaphore is
a) remainder section code
b) non – critical section code
c) critical section code
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
At a particular time of computation the value of a
counting semaphore is 7.Then 20 P operations and 15
V operations were completed on this semaphore. The
resulting value of the semaphore is?
a) 42
b) 2
c) 7
d) 12
Most Important Operating System Question ( Mission Bihar STET 2023 )
a
A binary semaphore is a semaphore with
integer values .....
a) 1
b) -1
c) 0.8
d) 0.5
Most Important Operating System Question ( Mission Bihar STET 2023 )
a

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC :- DEADLOCK
Most Important Operating System Question ( Mission Bihar STET 2023 )
▪ A deadlock is a situation where a set of processes are blocked because
each process is holding a resource and waiting for another resource
acquired by some other process.

▪ Deadlock can arise if the following four conditions hold


simultaneously (Necessary Conditions)
Mutual Exclusion: Two or more resources are non-shareable (Only one
process can use at a time)
Hold and Wait: A process is holding at least one resource and waiting for
resources.
No Preemption: A resource cannot be taken from a process unless the
process releases the resource.
Circular Wait: A set of processes waiting for each other in circular form.
Most Important Operating System Question ( Mission Bihar STET 2023 )

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
Most Important Operating System Question ( Mission Bihar STET 2023 )

For a deadlock to arise, which of the following


conditions must hold simultaneously?
a) Mutual exclusion
b) No preemption
c) Hold and wait
d) All of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

A system is in the safe state if _________


a) the system can allocate resources to each
process in some order and still avoid a deadlock
b) there exist a safe sequence
c) all of the mentioned
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

Which one of the following is the deadlock


avoidance algorithm?
a) banker’s algorithm
b) round-robin algorithm
c) elevator algorithm
d) karn’s algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

For Mutual exclusion to prevail in the system _____


a) at least one resource must be held in a non sharable
mode
b) the processor must be a uniprocessor rather than a
multiprocessor
c) there must be at least one resource in a sharable mode
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

All unsafe states are ____________


a) deadlocks
b) not deadlocks
c) fatal
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

The data structures available in the


Banker’s algorithm are ____________
a) Available
b) Need
c) Allocation
d) All of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

A system is in a safe state only if there


exists a ____________
a) safe allocation
b) safe resource
c) safe sequence
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

A deadlock avoidance algorithm dynamically


examines the __________ to ensure that a
circular wait condition can never exist.
a) resource allocation state
b) system storage state
c) operating system
d) resources
Most Important Operating System Question ( Mission Bihar STET 2023 )

A deadlock can be broken by ____________


a) abort one or more processes to break the
circular wait
b) abort all the process in the system
c) preempt all resources from all processes
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

Given a priori information about the ________ number of


resources of each type that maybe requested for each
process, it is possible to construct an algorithm that
ensures that the system will never enter a deadlock
state.
a) minimum
b) average
c) maximum
d) approximate
Most Important Operating System Question ( Mission Bihar STET 2023 )

The Banker’s algorithm is _____________


than the resource allocation graph
algorithm.
a) less efficient
b) more efficient
c) equal
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

If we preempt a resource from a process, the


process cannot continue with its normal
execution and it must be ____________
a) Aborted
b) rolled back
c) terminated
d) queued
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC
BANKERS’S ALGORITHM
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ Banker’s Algorithm is a deadlock avoidance algorithm.

▪ It maintains a set of data using which it decides whether


to entertain the request of any process or not.

▪ It follows the safety algorithm to check whether the


system is in a safe state or not.

▪ Data Structure :- Available, Max, Allocation, need


Most Important Operating System Question ( Mission Bihar STET 2023 )
A single processor system has three resource types X, Y and Z, which are shared by three processes.
There are 5 units of each resource type. Consider the following scenario, where the column alloc
denotes the number of units of each resource type allocated to each process, and the column
request denotes the number of units of each resource type requested by a process in order to
complete execution. Which of these processes will finish LAST?
1.P0
2.P1
3.P2
4.None of the above since the system is in a deadlock
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

An operating system using banker’s algorithm for deadlock avoidance has


ten dedicated devices (of same type) and has three processes P1, P2 and
P3 with maximum resource requirements of 4, 5 and 8 respectively. There are two
states of allocation of devices as follows:

State 1 Process p1 p2 p3
device Allocation 2 3 4
State 2 processes p1 p2 p3
Device allocated 0 2 4

Which of the following is correct?


1.State 1 is unsafe and State 2 is safe
2.State 1 is safe and State 2 is unsafe
3.Both State 1 and State 2 are safe
4.Both State 1 and State 2 are unsafe
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC
Resource Aloocation graph
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ Resource Allocation Graph (RAG) is a graph that represents


the state of a system pictorially.

▪ There are two components of RAG- Vertices and Edges.

▪ Using Resource Allocation Graph, it can be easily detected


whether system is in a Deadlock state or not.
Most Important Operating System Question ( Mission Bihar STET 2023 )

In a Resource Allocation Graph where all the resources are single


instance,
▪ If a cycle is being formed, then system is in a deadlock state.
▪ If no cycle is being formed, then system is not in a deadlock state.

In a Resource Allocation Graph where all the resources are NOT single
instance,
▪ If a cycle is being formed, then system may be in a deadlock state.
▪ Banker’s Algorithm is applied to confirm whether system is in a
deadlock state or not.
▪ If no cycle is being formed, then system is not in a deadlock state.
▪ Presence of a cycle is a necessary but not a sufficient condition for
the occurrence of deadlock.
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC :-
Contiguous memory allocation
Most Important Operating System Question ( Mission Bihar STET 2023 )

Contiguous Memory Allocation-

▪ Contiguous memory allocation is a memory allocation technique.


▪ It allows to store the process only in a contiguous fashion.
▪ Thus, entire process has to be stored as a single entity at one place inside
the memory.

There are two popular techniques used for contiguous memory allocation-
▪ Static Partitioning
▪ Dynamic Partitioning
Most Important Operating System Question ( Mission Bihar STET 2023 )

Popular algorithms used for allocating the


partitions to the arriving processes are-
1.First Fit Algorithm
2.Best Fit Algorithm
3.Worst Fit Algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

Internal Fragmentation
▪ It occurs when the space is left inside the partition after
allocating the partition to a process.
▪ This space is called as internally fragmented space.
▪ This space can not be allocated to any other process.
▪ This is because only static partitioning allows to store only
one process in each partition.
▪ Internal Fragmentation occurs only in static partitioning.
Most Important Operating System Question ( Mission Bihar STET 2023 )

External Fragmentation
▪ It occurs when the total amount of empty
space required to store the process is
available in the main memory.
▪ But because the space is not contiguous, so
the process can not be stored.
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC :-
Non-contiguous memory allocation
( Paging )
Most Important Operating System Question ( Mission Bihar STET 2023 )
▪ Non-contiguous memory allocation is a memory allocation technique.
▪ It allows to store parts of a single process in a non-contiguous fashion.
▪ Thus, different parts of the same process can be stored at different places in the main memory.

There are two popular techniques used for non-contiguous memory allocation-
1. Paging
2. Segmentation
Paging
▪ Paging is a fixed size partitioning scheme.
▪ In paging, secondary memory and main memory are divided into equal fixed size partitions.
▪ The partitions of secondary memory are called as pages.
▪ The partitions of main memory are called as frames.
▪ The size of the last part may be less than the page size.
Most Important Operating System Question ( Mission Bihar STET 2023 )
▪ CPU always generates a logical address.
▪ A physical address is needed to access the main memory.

CPU generates a logical address consisting of two parts-


1.Page Number
2.Page Offset

Physical address consisting of two parts-


1.frame Number
2.Page Offset

The advantages of paging are-


▪ It allows to store parts of a single process in a non-contiguous fashion.
▪ It solves the problem of external fragmentation.
The disadvantages of paging are-
▪ It suffers from internal fragmentation.
Most Important Operating System Question ( Mission Bihar STET 2023 )

In contiguous memory allocation ____________


a) each process is contained in a single contiguous section of memory
b) all processes are contained in a single contiguous section of
memory
c) the memory space is contiguous
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

The first fit, best fit and worst fit are strategies to select a ______
a) process from a queue to put in memory
b) processor to run the next process
c) free hole from a set of available holes
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

A solution to the problem of external fragmentation is


a) compaction
b) larger memory space
c) smaller memory space
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

In internal fragmentation, memory is internal to a partition and


a) is being used
b) is not being used
c) is always used
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

__________ is generally faster than _________ and _________


a) first fit, best fit, worst fit
b) best fit, first fit, worst fit
c) worst fit, best fit, first fit
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

External fragmentation exists when?


a) enough total memory exists to satisfy a request but it is not contiguous
b) the total memory is insufficient to satisfy a request
c) a request cannot be satisfied even when the total memory is free
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

External fragmentation will not occur when?


a) first fit is used
b) best fit is used
c) worst fit is used
d) no matter which algorithm is used, it will always occur
Most Important Operating System Question ( Mission Bihar STET 2023 )

When the memory allocated to a process is slightly larger than the


process, then ____________
a) internal fragmentation occurs
b) external fragmentation occurs
c) both internal and external fragmentation occurs
d) neither internal nor external fragmentation occurs
Most Important Operating System Question ( Mission Bihar STET 2023 )

Physical memory is broken into fixed-sized blocks called


a) frames
b) pages
c) backing store
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

Logical memory is broken into blocks of the same size called


a) frames
b) pages
c) backing store
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

Every address generated by the CPU is divided into


two parts. They are ____________
a) frame bit & page number
b) page number & page offset
c) page offset & frame bit
d) frame offset & page offset
Most Important Operating System Question ( Mission Bihar STET 2023 )

The __________ is used as an index into the page table.


a) frame bit
b) page number
c) page offset
d) frame offset
Most Important Operating System Question ( Mission Bihar STET 2023 )

The _____ table contains the base address of each page in


physical memory.
a) process
b) memory
c) page
d) frame
Most Important Operating System Question ( Mission Bihar STET 2023 )

The size of a page is typically ____________


a) varied
b) power of 2
c) power of 4
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

With paging there is no ________ fragmentation.


a) internal
b) external
c) either type of
d) none of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

Paging increases the ______ time.


a) waiting
b) execution
c) context – switch
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

For every process there is a __________


a) page table
b) copy of page table
c) pointer to page table
d) all of the mentioned
Most Important Operating System Question ( Mission Bihar STET 2023 )

Calculate the number of bits required in the address for


memory having size of 16 GB. Assume the memory is 4-
byte addressable.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a system with byte-addressable memory, 32 bit logical


addresses, 4 kilobyte page size and page table entries of 4 bytes
each. The size of the page table in the system in megabytes is
____
a) 2
b) 4
c) 8
d) 16
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a machine with 64 MB physical memory and a 32 bit


virtual address space. If the page size is 4 KB, what is the
approximate size of the page table?
a) 16 MB
b) 8 MB
c) 2 MB
d) 24 MB
Most Important Operating System Question ( Mission Bihar STET 2023 )

Thank you
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC :-
PAGE REPLACEMENT ALGORITHM
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ Page replacement is a process of swapping out an existing page from the frame
of a main memory and replacing it with the required page.

▪ Page replacement algorithms help to decide which page must be swapped out
from the main memory to create a room for the incoming page.

Page replacement is required when-

▪ All the frames of main memory are already occupied.

▪ Thus, a page has to be replaced to create a room for the required page.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Various page replacement algorithms are-


1.FIFO Page Replacement Algorithm
2.LIFO Page Replacement Algorithm
3.LRU Page Replacement Algorithm
4.Optimal Page Replacement Algorithm
5.Random Page Replacement Algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

FIFO Page Replacement Algorithm-

▪ This algorithm works on the principle of “First in First out“.


▪ It replaces the oldest page that has been present in the main
memory for the longest time.
▪ It is implemented by keeping track of all the pages in a queue
Most Important Operating System Question ( Mission Bihar STET 2023 )

A system uses 3 page frames for storing process pages in main


memory. It uses the First in First out (FIFO) page replacement
policy. Assume that all the page frames are initially empty. What
is the total number of page faults that will occur while
processing the page reference string given below-
4 , 7, 6, 1, 7, 6, 1, 2, 7, 2
Most Important Operating System Question ( Mission Bihar STET 2023 )

Example 1: Consider page reference string 1, 3, 0, 3, 5, 6,


3 with 3 page frames.Find the number of page faults.
a) 10
b) 9
c) 11
d) 8
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a reference string: 4, 7, 6, 1, 7, 6, 1, 2, 7, 2. the number


of frames in the memory is 3. Find out the number of page faults
respective to:
Most Important Operating System Question ( Mission Bihar STET 2023 )

LRU Page Replacement Algorithm-

▪ As the name suggests, this algorithm works on the principle


of “Least Recently Used“.

▪ It replaces the page that has not been referred by the CPU for
the longest time.
Most Important Operating System Question ( Mission Bihar STET 2023 )

A system uses 3 page frames for storing process pages in main


memory. It uses the Least Recently Used (LRU) page replacement
policy. Assume that all the page frames are initially empty. What is
the total number of page faults that will occur while processing the
page reference string given below-
4 , 7, 6, 1, 7, 6, 1, 2, 7, 2
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider the page reference string 7, 0, 1, 2, 0, 3, 0, 4,


2, 3, 0, 3, 2, 3 with 4 page frames. Find number of
page faults. ( LRU )
Most Important Operating System Question ( Mission Bihar STET 2023 )

Optimal Page Replacement Algorithm-

▪ This algorithm replaces the page that will not be referred


by the CPU in future for the longest time.

▪ It is practically impossible to implement this algorithm.

▪ This is because the pages that will not be used in future for
the longest time can not be predicted.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a reference string: 4, 7, 6, 1, 7, 6, 1, 2, 7, 2. the


number of frames in the memory is 3. Find out the number
of page faults respective to:
Most Important Operating System Question ( Mission Bihar STET 2023 )

Given page reference string:


1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6 Compare the number
of page faults for LRU, FIFO and Optimal page replacement
algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

THANK YOU
Most Important Operating System Question ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Operating System Question ( Mission Bihar STET 2023 )

TOPIC :-
Disk Scheduling Algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

▪ The algorithms used for disk scheduling are called as disk


scheduling algorithms.

▪ The purpose of disk scheduling algorithms is to reduce the


total seek time.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Various disk scheduling algorithms are-

1.FCFS Algorithm
2.SSTF Algorithm
3.SCAN Algorithm
4.C-SCAN Algorithm
5.LOOK Algorithm
6.C-LOOK Algorithm
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a disk queue with requests for I/O to blocks on cylinders 98, 183, 41,
122, 14, 124, 65, 67. The FCFS scheduling algorithm is used. The head is
initially at cylinder number 53. The cylinders are numbered from 0 to 199. The
total head movement (in number of cylinders) incurred while servicing these
requests is _______.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a disk queue with requests for I/O to blocks on cylinders 98, 183, 41,
122, 14, 124, 65, 67. The SSTF scheduling algorithm is used. The head is
initially at cylinder number 53 moving towards larger cylinder numbers on its
servicing pass. The cylinders are numbered from 0 to 199. The total head
movement (in number of cylinders) incurred while servicing these requests is
_______.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a disk system with 100 cylinders. The requests to access the cylinders
occur in following sequence-
4, 34, 10, 7, 19, 73, 2, 15, 6, 20
Assuming that the head is currently at cylinder 50, what is the time taken to
satisfy all requests if it takes 1 ms to move from one cylinder to adjacent one
and shortest seek time first policy is used?
1.95 ms
2.119 ms
3.233 ms
4.276 ms
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a disk queue with requests for I/O to blocks on cylinders 98, 183, 41,
122, 14, 124, 65, 67. The SCAN scheduling algorithm is used. The head is
initially at cylinder number 53 moving towards larger cylinder numbers on its
servicing pass. The cylinders are numbered from 0 to 199. The total head
movement (in number of cylinders) incurred while servicing these requests is
_______.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a disk queue with requests for I/O to blocks on cylinders 98, 183, 41,
122, 14, 124, 65, 67. The C-SCAN scheduling algorithm is used. The head is
initially at cylinder number 53 moving towards larger cylinder numbers on its
servicing pass. The cylinders are numbered from 0 to 199. The total head
movement (in number of cylinders) incurred while servicing these requests is
_______.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a disk queue with requests for I/O to blocks on cylinders 98, 183, 41,
122, 14, 124, 65, 67. The LOOK scheduling algorithm is used. The head is
initially at cylinder number 53 moving towards larger cylinder numbers on its
servicing pass. The cylinders are numbered from 0 to 199. The total head
movement (in number of cylinders) incurred while servicing these requests is
_______.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Consider a disk queue with requests for I/O to blocks on cylinders 47, 38, 121,
191, 87, 11, 92, 10. The C-LOOK scheduling algorithm is used. The head is
initially at cylinder number 63 moving towards larger cylinder numbers on its
servicing pass. The cylinders are numbered from 0 to 199. The total head
movement (in number of cylinders) incurred while servicing these requests is
_______.
Most Important Operating System Question ( Mission Bihar STET 2023 )

Thank you
WELCOME TO OUR CHANNEL
INSIGHT CS - IT

NETWORKING
Basic Computer Network
Basic Terminology
SYLLABUS
Network Devices
- I T
Data Transmission


Network
Internet ▪ Server
C S Mode


Intranet
Extranet
H T
▪ Router
▪ Switch
▪ SIMPLEX MODE


Node
Port
S I G
▪ Bridge
▪ Half Duplex
▪ Full Duplex

N
▪ Repeater


▪ I
Protocol
IP Address
MAC Address
▪ Hub
▪ Firewall
Basic Computer Network
SYLLABUS
- IT
Types Of Network

T C
▪ Bus S
Network Topology OSI Model
1. Application layer


WAN

I G H ▪ Star 2. Presentation layer

S
MAN
▪ Ring 3. Session layer


IN
LAN
PAN
▪ Mesh
▪ Hybrid
4.Transport layer
5. Network layer
6. Data link layer
7. Physical layer
Basic Computer Network
T
Basic Terminology

Network :-

S - I
T C
A network is a collection of two or multiple connected
computer systems that may share resources.

H
S I G
I N
Basic Computer Network
T
Basic Elements Of a Communication System

S - I
C
▪ Sender: Creates and sends a message
▪ Medium: Carriers a message

G H T
I
▪ Receiver: Receives a message

I N S
Basic Computer Network
Internet
- IT
S
The Internet, sometimes called simply "the Net," is a

H T C
worldwide system of computer networks - a network
of networks in which users at any one computer can,

I G
if they have permission, get information from any

S
I N
other computer
Basic Computer Network
Intranet
- I T
CS
An intranet is a private network contained within an

T
enterprise that is used to securely share company

IGH
information and computing resources among

INS
employees. An intranet can also be used for working in
groups and teleconferences
Basic Computer Network
Extranet
- IT
C S
An extranet is a private network similar to an intranet, but

T
typically open to external parties, such as business partners,

G H
suppliers, key customers, etc. The main purpose of an

I
S
extranet is to allow users to exchange data and applications,

I N
and share information.
Basic Computer Network
IT
Internet Intranet Extranet

-
• Private • Private

S
• Public • It is derived from Internet. • It is derived from Intranet.

C
• It is the network of networks. • Specific to an organization. • To share information with

T
• Global system. • Restricted area upto an

H
suppliers and vendors it makes

G
• All over the world. organization. the use of public network.

S I
• It is accessible to everyone • It is accessible only to the • Restricted area upto an

N
connected. members of organization. organization and some of its

I
• It’s purpose is to share • It’s purpose is to share stakeholders or so.
information throughout the information throughout the • It’s purpose is to share
world. organization. information between members
and external, members.
Basic Computer Network
T
Node :-

- I
Nodes are devices that are connected to a network. These can include

S
computers, servers, printers, routers, switches, and other devices.

Port :-

T C
IGH
A port is a physical docking point using which an external device can be

S
connected to the computer.

IN
Protocols :-
A protocol is a set of rules and standards that govern how data is
transmitted over a network. Examples of protocols include TCP/IP, HTTP,
and FTP.
Basic Computer Network
MAC Address

T
IP Address
▪ Layer 2 address

-
▪ Layer 3 address

S I
C
▪ Can not be changed ▪ Can be changed at any time
▪ Also called Physical Address

G H T ▪ Also called logical address

I
▪ 12 digits grouped into six pairs ▪ 32 bits, grouped into four decimal

IN S
separated by hyphens
▪ Ex:- 00-00-00-00-00-00
numbers
▪ Ex:- 000.000.000.000
Basic Computer Network
T
Network Devices

- I
Server :- A server is a computer program or device that provides a service to

S
C
another computer program.

HT
Router :- The router is a physical or virtual internetworking device that is designed

G
I
to receive, analyze, and forward data packets between computer networks.

INS
Switch :- A network switch connects devices in a network to each other, enabling
them to talk by exchanging data packets.
Basic Computer Network
T
Bridge :- A bridge is a network device that connects multiple subnetworks to create a
single network.

S - I
Repeater :- A repeater is a dynamic network device used to reproduce the signals

equal.

T C
when they transmit over a greater distance so that the signal's strength remains

IGH
Hub :- A network hub is a node that broadcasts data to every computer or Ethernet-

S
based device connected to it.

IN
Firewall :- A firewall is a security device that is used to monitor and control incoming
and outgoing network traffic. Firewalls are used to protect networks from
unauthorized access and other security threats.
Basic Computer Network
T
Data Transmission Mode

SIMPLEX MODE
S - I
T C
It is a mode of transmission in which the flow of data is

H
I G
unidirectional. It means that the participant can do only

N S
one task at a time in a single direction. The receiver can

I
only receive data and not send it (and vice versa)
EX :- The keyboard, Television, Mouse,
Basic Computer Network
T
Data Transmission Mode

S - I
C
HALF DUPLEX

G H T
It is a mode of transmission in which the flow of

I
data is bi-directional but only in one direction at a
time.

IN S
EX :- A Walkie-talkie set
Basic Computer Network
T
Data Transmission Mode

S - I
H T C
FULL DUPLEX
It is a mode of transmission in which the flow of data is

S I G
bi-directional. The devices can send as well as receive

I N
data simultaneously at the same time.
EX :- Telephone lines, Mobile phones are commendable
Basic Computer Network
Types Of Network

▪ WAN :-
- IT
▪ MAN

T CS
▪ LAN

I G H
▪ PAN

I N S
Basic Computer Network
Types Of Network

WAN (Wide Area Network)

- IT
C S
•A Wide Area Network is a network that extends over a large

T
geographical area such as states or countries.

G H
•The internet is one of the biggest WAN in the world.

I
S
•A Wide Area Network is widely used in the field of Business,

I N
government, and education.
Basic Computer Network
Types Of Network
MAN (Metropolitan Area Network)

- IT
S
•A metropolitan area network is a network that covers a larger geographic

H T C
area by interconnecting a different LAN to form a larger network.
•Government agencies use MAN to connect to the citizens and private

I G
industries.

I
exchange line.
S
•In MAN, various LANs are connected to each other through a telephone

N
•It has a higher range than Local Area Network(LAN).
Basic Computer Network
Types Of Network
LAN(Local Area Network)

- IT
S
•Local Area Network is a group of computers connected to each other in a
small area such as building, office.

H T C
•It is less costly as it is built with inexpensive hardware such as hubs, network

I G
adapters, and ethernet cables.

I N S
•The data is transferred at an extremely faster rate in Local Area Network.
•Local Area Network provides higher security.
Basic Computer Network
Types Of Network

- IT
S
PAN ( Personal Area Network )

C
•Personal Area Network is a network arranged within an individual

H T
person, typically within a range of 10 meters.

G
•Personal computer devices that are used to develop the personal

S I
area network are the laptop, mobile phones, media player and

N
I
play stations.
Basic Computer Network
Network Topology

- I T
S
▪ Bus
▪ Star

T C
▪ Ring

IGH
S
▪ Mesh
▪ Hybrid
IN
Basic Computer Network
Network Topology
Bus Topology :-

- I T
S
•The bus topology is designed in such a way that all the

C
stations are connected through a single cable known as a

T
backbone cable.

IGH
•When a node wants to send a message over the network,

S
it puts a message over the network. All the stations

IN
available in the network will receive the message whether
it has been addressed or not.

•The configuration of a bus topology is quite simpler as


compared to other topologies.
Basic Computer Network
Network Topology
Ring Topology :-

- I T
CS
•Ring topology is like a bus topology, but with connected ends.
•The node that receives the message from the previous computer

T
H
will retransmit to the next node.

G
•The data flows in one direction, i.e., it is unidirectional.

SI
•It has no terminated ends, i.e., each node is connected to other

IN
node and having no termination point.
•The data in a ring topology flow in a clockwise direction.
Basic Computer Network
Network Topology
Star Topology :-

- I T
S
•Star topology is an arrangement of the network in which

C
every node is connected to the central hub, switch or a central
computer.

T
IGH
•The central computer is known as a server, and the

INS
peripheral devices attached to the server are known
as clients.

•Star topology is the most popular topology in network


implementation.
Basic Computer Network
Network Topology
Mesh Topology :-

- I T
CS
•Mesh technology is an arrangement of the network in which

T
computers are interconnected with each other through

H
various redundant connections.

IG
•There are multiple paths from one computer to another
computer.

INS
Basic Computer Network
Network Topology
Hybrid Topology :-

- I T
CS
•The combination of various different topologies

T
H
is known as Hybrid topology.

SIG
•A Hybrid topology is a connection between

IN
different links and nodes to transfer the data.
Basic Computer Network
OSI Model
1.Application layer

- IT
2. Presentation layer
3. Session layer

T CS
I G
4.Transport layer
H
I S
5. Network layer

N
6. Data link layer
7. Physical layer
THANK YOU
DO LIKE, COMMENT, SHARE And SUBSCRIBE
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

What is DBMS?
a) DBMS is a collection of queries
b) DBMS is a high-level language
c) DBMS is a programming language
d) DBMS stores, modifies and retrieves data
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Who created the first DBMS?


a) Edgar Frank Codd
b) Charles Bachman
c) Charles Babbage
d) Sharon B. Codd
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which type of data can be stored in the database?


a) Image oriented data
b) Text, files containing data
c) Data in the form of audio or video
d) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

What is information about data called?


a) Hyper data
b) Tera data
c) Meta data
d) Relations
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

In which of the following formats data is stored


in the database management system?
a) Image
b) Text
c) Table
d) Graph
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is not a type of database?


a) Hierarchical
b) Network
c) Distributed
d) Decentralized
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is not an example of DBMS?


a) MySQL
b) Microsoft Acess
c) IBM DB2
d) Google
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is not a feature of DBMS?


a) Minimum Duplication and Redundancy of Data
b) High Level of Security
c) Single-user Access only
d) Support ACID Property
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The oldest DB model is _______________


a) Network
b) Physical
c) Hierarchical
d) Relational
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is a feature of the database?


a) No-backup for the data stored
b) User interface provided
c) Lack of Authentication
d) Store data in multiple locations
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is not a function of the


database?
a) Managing stored data
b) Manipulating data
c) Security for stored data
d) Analysing code
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Procedural language among the following is _____


a) Domain relational calculus
b) Tuple relational calculus
c) Relational algebra
d) Query language
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is a function of the DBMS?


a) Storing data
b) Providing multi-users access control
c) Data Integrity
d) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

What does an RDBMS consist of?


a) Collection of Records
b) Collection of Keys
c) Collection of Tables
d) Collection of Fields
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following establishes a top-


to-bottom relationship among the items?
a) Relational schema
b) Network schema
c) Hierarchical schema
d) All of the mentioned
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

SET concept is used in :


a) Network model
b) Hierarchical model
c) Relational model
d) None of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The scheme for hierarchical database is :


a) a tree
b) a graph
c) a B-tree
d) none of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The scheme for Network Model database is


a) a tree
b) a graph
c) a B-tree
d) none of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which Level are describe that how data


are stored?
a) Physical Level
b) Logical Level
c) View Level
d) External Level
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which Level are describe that What data


are stored?
a) Physical Level
b) Logical Level
c) View Level
d) External Level
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which Level are describe highest level of


abstraction
a) Physical Level
b) Logical Level
c) View Level
d) External Level
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

THANK YOU
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

TOPIC :- E R MODEL
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following gives a logical structure


of the database graphically?
a) Entity-relationship diagram
b) Entity diagram
c) Database diagram
d) Architectural representation
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The entity relationship set is represented in E-


R diagram as
a) Double diamonds
b) Undivided rectangles
c) Dashed lines
d) Diamond
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The Rectangles divided into two parts


represents
a) Entity set
b) Relationship set
c) Attributes of a relationship set
d) Primary key
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Consider a directed line(->) from the


relationship set advisor to both entity sets
instructor and student. This indicates _________
cardinality
a) One to many
b) One to one
c) Many to many
d) Many to one
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

We indicate roles in E-R diagrams by labeling


the lines that connect ___________ to __________
a) Diamond , diamond
b) Rectangle, diamond
c) Rectangle, rectangle
d) Diamond, rectangle
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

An entity set that does not have sufficient


attributes to form a primary key is termed a
__________
a) Strong entity set
b) Variant set
c) Weak entity set
d) Variable set
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

For a weak entity set to be meaningful, it


must be associated with another entity
set, called the
a) Identifying set
b) Owner set
c) Neighbour set
d) Strong entity set
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Weak entity set is represented as


a) Underline
b) Double line
c) Double diamond
d) Double rectangle
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

If you were collecting and storing information


about your music collection, an album would
be considered a(n) _____
a) Relation
b) Entity
c) Instance
d) Attribute
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

What term is used to refer to a specific record in


your music database; for instance; information
stored about a specific album?
a) Relation
b) Instance
c) Table
d) Column
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The total participation by entities is represented


in E-R diagram as
a) Dashed line
b) Double line
c) Double rectangle
d) Circle
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Given the basic ER and relational models, which of the


following is INCORRECT?
a) An attribute of an entity can have more than one value
b) An attribute of an entity can be composite
c) In a row of a relational table, an attribute can have more
than one value
d) In a row of a relational table, an attribute can have
exactly one value or a NULL value
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following indicates the maximum


number of entities that can be involved in a
relationship?
a) Minimum cardinality
b) Maximum cardinality
c) ERD
d) Greater Entity Count
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

In E-R diagram generalization is represented by


a) Ellipse
b) Dashed ellipse
c) Rectangle
d) Triangle
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

What is a relationship called when it is


maintained between two entities?
a) Unary
b) Binary
c) Ternary
d) Quaternary
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Key to represent relationship between tables


is called
a) Primary key
b) Secondary Key
c) Foreign Key
d) None of the mentioned
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

A window into a portion of a database is


a) Schema
b) View
c) Query
d) Data dictionary
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

A primary key is combined with a foreign key creates

a) Parent-Child relationship between the tables that connect them

b) Many to many relationship between the tables that connect them

c) Network model between the tables that connect them

d) None of the mentioned


Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

THANK YOU
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

TOPIC
Functional Dependency
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

We can use the following three rules to find


logically implied functional dependencies.
This collection of rules is called
a) Axioms
b) Armstrong’s axioms
c) Armstrong
d) Closure
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is not Armstrong’s


Axiom?
a) Reflexivity rule
b) Transitivity rule
c) Symmetric rule
d) Augmentation rule
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Two attributes can be functionally ___ on/of


each other.
a) Dependent
b) Independent
c) Both A and B
d) None of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

An attribute that is ___ and the primary key of


a table are typically functionally dependent on
one another.
a) Key
b) Non-Key
c) One-Key
d) Many-Key
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Functional dependencies are classified as ___


on the left.
a) Dependent
b) Determined
c) Determinants
d) Database
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

___ is the right side of making functional


dependency.
a) Determinants
b) Dependency
c) Independency
d) None
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

How many types of functional dependencies


are there?
a) 1
b) 2
c) 3
d) 4
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

If ___, then A -> B has trivial functional


dependency.
a) B is a subset of A
b) A is a subset of B
c) A is a subset of A'
d) B is a subset of B'
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

If ___, then A -> B has non-trivial functional


dependency.
a) B is not a subset of A
b) A is not a subset of B
c) A is not a subset of A'
d) B is not a subset of B'
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Find equivalence of functional dependencies


X = { A → B, B → C} and Y = { A → B, B → C, A → C }
using FD sets X and Y which of the following
options are correct?
a) X is a subset of Y
b) X is a subset of Y
c) X = Y
d) X ≠ Y
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Consider an example to find canonical cover


of F.
The given functional dependencies are as
follows −
A -> B
C -> B
D -> ABC
AC -> D
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

THANK YOU
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

TOPIC :- keys
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Keys
▪ Keys play an important role in the relational database.
▪ It is used to uniquely identify any record or row of data from
the table. It is also used to establish and identify relationships
between tables.
Types Of Keys :
▪ Candidate Key ▪ Alternate Key
▪ Primary Key ▪ Composite Key

▪ Foreign Key ▪ Unique Key

▪ Super Key
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Primary key
▪ It is the first key used to identify one and only one instance of an entity uniquely. An entity can
contain multiple keys, as we saw in the PERSON table. The key which is most suitable from
those lists becomes a primary key.

▪ In the EMPLOYEE table, ID can be the primary key since it is unique for each employee. In the
EMPLOYEE table, we can even select License_Number and Passport_Number as primary keys
since they are also unique.

▪ For each entity, the primary key selection is based on requirements and developers.
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Candidate key
▪ A candidate key is an attribute or set of attributes that can uniquely identify a tuple.
▪ Except for the primary key, the remaining attributes are considered a candidate key. The
candidate keys are as strong as the primary key.

Super Key
▪ Super key is an attribute set that can uniquely identify a tuple. A super key is a superset of a
candidate key.

Foreign Key
▪ We use a foreign key to establish relationships between two available tables.

Composite key
▪ Whenever a primary key consists of more than one attribute, it is known as a composite key.
This key is also known as Concatenated Key.
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Primary key can be?


(A) NULL
(B) NOT NULL
(C) Both NULL and NOT NULL
(D) Depends on situation
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is NOT a super key in a


relational schema with attributes V,W,X,Y,Z
and primary key VY?
(A) VWXZ
(B) VXYZ
(C) VWXY
(D) WVXYZ
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following key contains the minimum


number of fields to ensure uniqueness.
(A) Primary key
(B) Foreign key
(C) Super key
(D) Candidate key
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

..................... is a subset of a super key.


(A) Primary key
(B) Foreign key
(C) Super key
(D) Candidate key
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Primary keys must contain


(A) UNIQUE values
(B) NOT NULL values
(C) NULL values
(D) Both option A & B
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Key to represent relationship between tables is


called
(A) Primary key
(B) Foreign key
(C) Secondary key
(D)Candidate key
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

............is an invalid type of database key.


(A) Primary key
(B) Foreign key
(C) Secondary key
(D) Structured primary key
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

............is a primary key of one file that also


appears in another file.
(A) Primary key
(B) Foreign key
(C) Secondary key
(D) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The purpose of the primary key in a database is to


(A) unlock the database
(B) maping of the database
(C) uniquely identify a record
(D) None
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which one of the following is a set of one or more attributes


taken collectively to uniquely identify a record?
a) Candidate key
b) Sub key
c) Super key
d) Foreign key
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

A _____ is a property of the entire relation, rather than of the


individual tuples in which each tuple is unique.
a) Rows
b) Key
c) Attribute
d) Fields
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which one of the following attribute can be taken as a


primary key?
a) Name
b) Street
c) Id
d) Department
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

An attribute in a relation is a foreign key if the _______ key


from one relation is used as an attribute in that relation.
a) Candidate
b) Primary
c) Super
d) Sub
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Given R( A B C D ) and FD= { A → B, B → C and


C → D } Find CK
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Given R( A B C D E F ) and FD= {C→ F, E → A, CE → D and


, A→ B} Find CK
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

THANK YOU
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

▪ FUNDAMENTALS
PREVIOUS YEAR QUESTION ANALYSIS
▪ NUMBER SYSTEM
KVS, NVS, DSSSB, NET, GATE
▪ DIGITAL LOGIC
▪ PROGRAMMING (PYTHON)
▪ EMERGING TRENDS
▪ OPERATING SYSTEM
▪ NETWORKING
▪ COMPUTER ARCHITECTURE
▪ DBMS
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

TOPIC :-
NORMALIZATION
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

What is Normalization?
▪ Normalization is the process of organizing the data in the database.
▪ Normalization is used to minimize the redundancy from a relation or set of relations. It is also
used to eliminate undesirable characteristics like Insertion, Update, and Deletion Anomalies.
▪ Normalization divides the larger table into smaller and links them using relationships.
▪ The normal form is used to reduce redundancy from the database table.

Data modification anomalies can be categorized into three types:


▪ Insertion Anomaly: Insertion Anomaly refers to when one cannot insert a new tuple into a
relationship due to lack of data.
▪ Deletion Anomaly: The delete anomaly refers to the situation where the deletion of data results
in the unintended loss of some other important data.
▪ Updatation Anomaly: The update anomaly is when an update of a single data value requires
multiple rows of data to be updated.
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Let R1 (a, b, c) and R2 (x, y, z) be two relations in which a is the foreign key of
R1 that refers to the primary key of R2 . Consider following four options.
(a)Insert into R 1
(b)Insert into R 2
(c)Delete from R 1
(d)Delete from R 2
Which of the following is correct about the referential integrity constraint with
respect to above?
(A) Operations (a) and (b) will cause violation.
(B) Operations (b) and (c) will cause violation.
(C) Operations (c) and (d) will cause violation.
(D) Operations (d) and (a) will cause violation.
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Types Of Normal Form


Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Given a relation R( X, Y, Z) and Functional Dependency set FD


= { X → Y and Y → Z }, determine whether the given R is in
3NF?
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Given a relation R( X, Y, Z, W, P) and Functional Dependency


set FD = { X → Y, Y → P, and Z → W}, determine whether the
given R is in 3NF?
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

THANK YOU
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

TOPIC :-
NORMALIZATION
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

A table is in BCNF if it is in 3NF and if every


determinant is a ___________ key.
a) Dependent
b) Normal
c) Candidate
d) Both Normal and Candidate
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

A table is in 3NF if it is in 2NF and if it has no ____________


a) Functional Dependencies
b) Transitive Dependencies
c) Trivial Functional Dependency
d) Multivalued Dependencies
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

A ___________ is an indirect functional dependency,


one in which X->Z only by virtue of X->Y and Y->Z.
a) Multivalued Dependencies
b) Join Dependency
c) Trivial Functional Dependency
d) Transitive Dependencies
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

In a given relationship R, if an attribute A uniquely


defines all other attributes, then the attribute A is a
key attribute which is also known as the _________ key.
a) Candidate
b) Join
c) Functional
d) None of the Mentioned
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Anomalies are avoided by splitting the offending


relation into multiple relations, is also known as
a) Accupressure
b) Decomposition
c) Precomposition
d) Both Decomposition and Precomposition
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

When the values in one or more attributes being used


as a foreign key must exist in another set of one or
more attributes in another table, we have created
a(n):
a) Transitive Dependency
b) Insertion Anomaly
c) Referential Integrity Constraint
d) Normal Form
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The database design prevents some data from being


stored due to _______.
A. Deletion anomalies
B. Insertion anomalies
C. Update anomalies
D. Selection anomalies
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

4NF is designed to cope with :


A. Transitive dependency
B. Join dependency
C. Multi valued dependency
D. None of these
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

5NF is designed to cope with :


A. Transitive dependency
B. Join dependency
C. Multi valued dependency
D. None of these
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

A BCNF is :
A. loss less join and dependency preserving
B. loss less join but not dependency preserving
C. not loss less join but dependency preserving
D. None of these
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Third normal form is based on the concept of _________


A. Closure Dependency
B. Transitive Dependency
C. Normal Dependency
D. Functional Dependency
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Redundancy is reduced in a database table by using


the ___ form.
a) Abnormal
b) Normal
c) Special
d) None
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

a) In practical applications, how many types of


Normal Forms are there?
b) 3
c) 4
d) 5
e) 6
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is not a type of Normal Form?


a) 1NF
b) 2NF
c) 3NF
d) 10NF
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is a type of Normal Form?


a) ACNF
b) BCNF
c) CCNF
d) DCNF
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

When a relation contains an atomic value, it is a ___


relation.
a) 1NF
b) 2NF
c) 3NF
d) BCNF
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

2NF relations are those that are in 1NF with all the
attribute types dependent on the ___ key.
a) Primary
b) Foreign
c) Composite
d) Alternate
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Neither multivalued nor composite attributes, nor


their combinations, may be used in the ___ normal
form.
a) First
b) Second
c) Third
d) fourth
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

If more than one value of B is present for a single


value of A in a dependency A -> B, then the
relationship is ___.
a) Single
b) Multi-valued
c) Both a and b
d) None of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Given a relation R( X, Y, Z) and Functional Dependency set


FD = { XY → Z and Z → Y }, determine whether the given R
is in BCNF?
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

THANK YOU
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

TOPIC :- SQL
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which command is used to remove a relation


from an SQL?
a) Drop table
b) Delete
c) Purge
d) Remove
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The ability to query data, as well as insert,


delete, and alter tuples, is offered by ____________
a) TCL (Transaction Control Language)
b) DCL (Data Control Language)
c) DDL (Data Definition Langauge)
d) DML (Data Manipulation Langauge)
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Types of SQL Commands are –


a) DDL
b) DML
c) DCL
d) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Full form of DDL is –


a) Data Describe Language
b) Definition Data Language
c) Data Definition Language
d) Data Distinct Language
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Full form of DML is –


a) Data Multiplication Language
b) Data Manipulation Language
c) Data Modify Language
d) Data Mapping Language
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Command that comes under DML is/are –


a) ROLLBACK
b) GRANT
c) UPDATE
d) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Full form of DCL is -


a) Data Control Language
b) Data Commit Language
c) Data Common Language
d) Data Concatenate Language
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Command that comes under DCL is/are -


a) GRANT
b) REVOKE
c) Both A. and B.
d) None of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Full form of TCL is -


a) Transaction Common Language
b) Transaction Commit Language
c) Transaction Concatenate Language
d) Transaction Control Language
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Commands that come under TCL is/are -


a) COMMIT
b) ROLLBACK
c) SAVEPOINT
d) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The table records can be retrieved using which


command?
a) RETRIEVE
b) SELECT
c) CREATE
d) ALTER
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

The records and structure of a table may be removed


or deleted from the database using which command?
a) REMOVE
b) DELETE
c) DROP
d) TRUNCATE
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which statement is used to delete all rows in a table without


having the action logged?
a) DELETE
b) REMOVE
c) DROP
d) TRUNCATE

e) D
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

SQL Views are also known as


a) Simple tables
b) Virtual tables
c) Complex tables
d) Actual Tables
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

How many Primary keys can have in a table?


a) Only 1
b) Only 2
c) Depends on no of Columns
d) Depends on DBA
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is not a valid aggregate function?


a) COUNT
b) COMPUTE
c) SUM
d) MAX
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which data manipulation command is used to combines the


records from one or more tables?
a) SELECT
b) PROJECT
c) JOIN
d) PRODUCT
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which operator is used to compare a value to a specified list


of values?
a) ANY
b) BETWEEN
c) ALL
d) IN
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

What operator tests column for absence of data


a) NOT Operator
b) Exists Operator
c) NULL Operator
d) None of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

In which of the following cases a DML statement is not


executed?
a) When existing rows are modified.
b) When a table is deleted.
c) When some rows are deleted.
d) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

A command that lets you change one or more field in a table


is:
a) INSERT
b) MODIFY
c) LOOK-UP
d) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is true about the HAVING clause?


a) Similar to the WHERE clause but is used for columns rather than groups.
b) Similar to WHERE clause but is used for rows rather than columns.
c) Similar to WHERE clause but is used for groups rather than rows.
d) Acts exactly like a WHERE clause.
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

_________ command makes the updates performed by the


transaction permanent in the database?
a) ROLLBACK
b) COMMIT
c) TRUNCATE
d) DELETE
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which command is used to change the definition of a table in


SQL?
a) CREATE
b) UPDATE
c) ALTER
d) SELECT
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which type of JOIN is used to returns rows that do not have


matching values?
a) Natural JOIN
b) Outer JOIN
c) EQUI JOIN
d) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is the basic approaches for joining


tables?
a) Union JOIN
b) Natural JOIN
c) Subqueries
d) All of the above
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which SQL function is used to count the number of


rows in a SQL query?
a) COUNT()
b) NUMBER()
c) SUM()
d) COUNT(*)
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which SQL keyword is used to retrieve a maximum


value?
a) MOST
b) TOP
c) MAX
d) UPPER
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following SQL clauses is used to DELETE


tuples from a database table?
a) DELETE
b) REMOVE
c) DROP
d) CLEAR
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

___________removes all rows from a table without


logging the individual row deletions.
a) DELETE
b) REMOVE
c) DROP
d) TRUNCATE
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following is not a DDL command?


a) UPDATE
b) TRUNCATE
c) ALTER
d) None of the Mentioned
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

________________ is not a category of SQL command.


a) TCL
b) SCL
c) DCL
d) DDL
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

Which of the following are TCL commands?


a) UPDATE and TRUNCATE
b) SELECT and INSERT
c) GRANT and REVOKE
d) ROLLBACK and SAVEPOINT
Most Important Question Of Data Base Management System ( Mission Bihar STET 2023 )

THANK YOU
WELCOME To Our Channel
INSIGHT CS - IT
TOPIC
IP ADDRESS
8 8 8 8
Class - A

8 8 8 8
Class - B

8 8 8 8
Class - C

8 8 8 8
Class - D

8 8 8 8
Class - E
Class – D :- Reserved For Multitasking, Group Email, Broadcasting
Class – D :- No Concept of Network or Host bcz it is all about reserved
purpose ( Future) / Military purpose
What is the format of IP address?
a) 34 bit
b) 64 bit
c) 16 bit
d) 32 bit
Version 6 of IP address has how many
bits.
a) 64 bits
b) 128 bits
c) 32 bits
d) 256 bits
How many version /s of IP’s are there?
a) 4 versions
b) 3 versions
c) 2 versions
d) 1 version
Choose the address of class D is
(A) Unicast
(B) Reserved
(C) Multicast
(D) None of the above
Select the bits from where the class D
address starts.
(A)110
(B) 10
(c) 0
(D) 1111
Select the wrong class.
(A) CLASS A = 1 to 126
(B) CLASS C = 192 to 220
(C) CLASS B = 128 to 191
(D) CLASS D = 224 to 239
Select the bits from where the class A
address starts.
(A)110
(B) 10
(c) 0
(D) 1111
Select the bits from where the class B
address starts
(A) 0
(B) 110
(C) 10
(D) 1111
Select the bits from where the class C
address starts
(A) 0
(B) 10
(C) 110
(D) 1111
Select which one of these is not a class
of IP addresses.
(A) Class A
(B) Class F
(C) Class E
(D) Class B
Select the bits from where the class D
address starts
(A) 0
(B) 10
(C) 110
(d) 1110
Select the address of class A, B and C are
(A) Reserved
(B) Multicast
(C) Unicast
(D) None of the above
Select the size of Network bits and Host
bits of Class A of IP address.
(A) Network bits 7, Host bits 23
(B) Network bits 8, Host bits 24
(C) Network bits 7, Host bits 2
(D) Network bits 8, Host bits 23
Select from the following which one is
correct about Class B Address of IP
address.
(A) Network bit – 18, Host bit – 16
(B) Network bit – 16, Host bit – 16
(C) Network bit – 14, Host bit – 16
(D) Network bit – 12, Host bit – 14\
Select from the following which one is
correct about Class c Address of IP
address.
(A) Network bit – 18, Host bit – 16
(B) Network bit – 16, Host bit – 16
(C) Network bit – 24, Host bit – 8
(D) Network bit – 8, Host bit – 24
Select the uses of subnetting.
(A) It speeds up the speed of the network
(B) It divides the network into network classes
(C) It divides one large network into several smaller ones
(D) None of the above
Select from the following which
represents the last address of IP address.
(A) Unicast address
(B) Broadcast address
(C) Network address
(D) None of the above
Percent of addresses occupied by Class
A?
a) 50 %
b) 25 %
c) 6.25 %
d) 12.5 %
Which of the following address belongs
class A?
1.121.12.12.248
2.130.12.12.248
3.128.12.12.248
4.129.12.12.248
Which of the following is correct IPv4
address?
1.124.201.3.1.52
2.300.142.210.64
3.10110011.32.16.8
4.128.64.0.0
Which of the following IP addresses can
be used as (a) loop-back addresses?
1.0.0.0.0
2.127.0.0.1
3.255.255.255.255
4.0.255.255.255
In IP class – A address, the…….. Byte is
reserved for network ids.
a) Fourth
b) Second
c) Third
d) first
What is the Range Of logical IP Address
class A
a) 0 – 128
b) 1 – 127
c) 0 – 127
d) 1 - 128
What is the Range Of logical IP Address
class C
a) 192 – 222
b) 191 – 223
c) 192 - 223
d) 193- 228
Which of the following does not have a
Net ID and Host ID?
a) Class A
b) Class B
c) Class C
d) Class D
What is the Range Of logical IP Address
class B
a) 127 – 192
b) 128 – 192
c) 0 – 191
d) 128 - 191
Which Class is reserved for future use?
a) A
b) B
c) D
d) None of the Mentioned
Number of Blocks in class B are –
a) 27
b) 28
c) 214
d) 29
First Address is –
a) 180.8.0.0
b) 180.7.64.0
c) 180.8.1.256
d) 180.12.0.0
Select the bits from where the class A
address starts.
(A)110
(B) 10
(c) 0
(D) 1111
Last Address is –
a) 180.8.255.255. Percent of addresses
occupied by Class D?
a) 50 %
b) 180.8.255.0. b) 25 %
c) 6.25 %
d) 12.5 %
c) 180.12.0.255.
d) 180.9.255.255.
Percent of addresses occupied by
Class D?
a) 50 %
b) 25 %
c) 6.25 %
d) 12.5 %
Select the bits from where the class c
address starts.
(A)110
(B) 10
(c) 0
(D) 1111
Percent of addresses occupied by
Class C?
a) 50 %
b) 25 %
c) 6.25 %
d) 12.5 %
Select the bits from where the class D
address starts.
(A)110
(B) 10
(c) 0
(D) 1110
What is the Range Of logical IP Address
class E
a) 240 – 255
b) 223 – 255
c) 224 – 239
d) 240 - 236
Percent of addresses occupied by Class B?
a) 50 %
b) 25 %
c) 6.25 %
d) 12.5 %
What is the Range Of logical IP Address
class D
a) 224 – 234
b) 223 – 235
c) 224 – 239
d) 223 - 236
Select the bits from where the class B
address starts.
(A)110
(B) 10
(c) 0
(D) 1111
THANK YOU
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

1. Who is known as the -Father of AI"?


1.Fisher Ada
2.Alan Turing
3.John McCarthy
4.Allen Newell
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

2. Artificial Intelligence is about_____.


1.Playing a game on Computer
2.Making a machine Intelligent
3.Programming on Machine with your Own Intelligence
4.Putting your intelligence in Machine
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

3. The application / applications of


Artificial Intelligence is/are
1.Expert Systems
2.Gaming
3.Vision Systems
4.All of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

4. If a robot is able to change its own


trajectory as per the external conditions,
then the robot is considered as the__
1.Mobile
2.Non-Servo
3.Open Loop
4.Intelligent
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

5. Ways to achieve AI in real-life are________.


1.Machine Learning
2.Deep Learning
3.Both a & b
4.None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

6. Which of the given language is not


commonly used for AI?
1.LISP
2.PROLOG
3.Python
4.Perl
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

7. Web Crawler is an example of______.


1.Intelligent Agent
2.Problem-solving agent
3.Simple reflex agent
4.Model-based agent
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

8. Which of the following is a component


of Artificial Intelligence?
a) Learning
b) Training
c) Designing
d) Puzzling
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

9. The probabilistic reasoning depends


upon____________.
1.Estimation
2.Observations
3.Likelihood
4.All of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

10. A technique that was developed to determine


whether a machine could or could not
demonstrate the artificial intelligence known as
the___
1.Boolean Algebra
2.Turing Test
3.Logarithm
4.Algorithm
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

11. The component of an Expert system


is____.
1.Knowledge Base
2.Inference Engine
3.User Interface
4.All of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

12. Which of the following is an advantage of


artificial intelligence?
a) Reduces the time taken to solve the problem
b) Helps in providing security
c) Have the ability to think hence makes the work
easier
d) All of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

13. In artificial Intelligence, knowledge


can be represented as_______.
i. Predicate Logic 1.Both I and II

ii. Propositional Logic 2.Only II


3.Both II and III
iii. Compound Logic
4.Only IV
iv. Machine Logic
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

14. Which of the following are the


approaches to Artificial Intelligence?
a) Applied approach
b) Strong approach
c) Weak approach
d) All of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

15. Face Recognition system is based on


which type of approach?
a) Weak AI approach
b) Applied AI approach
c) Cognitive AI approach
d) Strong AI approach
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

16. Among the given options, which search


algorithm requires less memory?
1.Optimal Search
2.Depth First Search
3.Breadth-First Search
4.Linear Search
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

17. Which algorithm is used in the Game


tree to make decisions of Win/Lose?
1.Heuristic Search Algorithm
2.DFS/BFS algorithm
3.Greedy Search Algorithm
4.Min/Max algorithm
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

18. An AI agent perceives and acts upon


the environment using___.
1.Sensors
2.Perceiver
3.Actuators
4.Both a and c
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

19. The main tasks of an AI agent are_______.


1.Input and Output
2.Moment and Humanly Actions
3.Perceiving, thinking, and acting on the
environment
4.None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

20. Which rule is applied for the Simple


reflex agent?
1.Simple-action rule
2.Simple &Condition-action rule
3.Condition-action rule
4.None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

21. Which agent deals with the happy and


unhappy state?
1.Utility-based agent
2.Model-based agent
3.Goal-based Agent
4.Learning Agent
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

22. Which AI technique enables the computers to


understand the associations and relationships
between objects and events?
1.Heuristic Processing
2.Cognitive Science
3.Relative Symbolism
4.Pattern Matching
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

23. The exploration problem is where______.


1.Agent contains the knowledge of State and actions.

2.Agent does not contain the knowledge of State and actions.

3.Only actions are known to the agent.

4.None of the above


Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

24. The search algorithm which is similar to the


minimax search, but removes the branches that
don't affect the final output is known as__.
1.Depth-first search
2.Breadth-first search
3.Alpha-beta pruning
4.None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

25. First order logic Statements


contains______.
1.Predicate and Preposition
2.Subject and an Object
3.Predicate and Subject
4.None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

26. A knowledge-based agent can be


defined with _____ levels.
1.2 Levels
2.3 Levels
3.4 Levels
4.None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

27. The inference engine works on ______.


1.Forward Chaining
2.Backward Chaining
3.Both a and b
4.None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

28. The best AI agent is one which__________


1.Needs user inputs for solving any problem
2.Can solve a problem on its own without any
human intervention
3.Need a similar exemplary problem in its
knowledge base
4.All of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

29. How many types of Machine


Learning are there?
1.1
2.2
3.3
4.4
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

30. Which of the following is not a type


of Artificial Intelligence agent?
a) Learning AI agent
b) Goal-based AI agent
c) Simple reflex AI agent
d) Unity-based AI agent
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

31. Which of the following machine


requires input from the humans but can
interpret the outputs themselves?
a) Actuators
b) Sensor
c) Agents
d) AI system
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

32. The total number of proposition


symbols in AI are ________
a) 3 proposition symbols
b) 1 proposition symbols
c) 2 proposition symbols
d) No proposition symbols
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

33. The total number of logical symbols in


AI are ____________
a) There are 3 logical symbols
b) There are 5 logical symbols
c) Number of logical symbols are based on the
input
d) Logical symbols are not used
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

THANK YOU
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

What is an AI ‘agent’?
a) Takes input from the surroundings and uses its
intelligence and performs the desired operations
b) An embedded program controlling line following robot
c) Perceives its environment through sensors and acting
upon that environment through actuators
d) All of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Which of the following can improve the


performance of an AI agent?
a) Perceiving
b) Learning
c) Observing
d) None of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Which of the following is/are the composition


for AI agents?
a) Program only
b) Architecture only
c) Both Program and Architecture
d) None of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Which of the following is an example of


artificial intelligent agent/agents?
a) Autonomous Spacecraft
b) Human
c) Robot
d) All of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Which of the following is an expansion of


Artificial Intelligence application?
a) Game Playing
b) Planning and Scheduling
c) Diagnosis
d) All of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

First Order Logic is also known as ________


a) First Order Predicate Logic
b) Quantification Theory
c) Lower Order Calculus
d) All of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

What is the total number of quantification


available in artificial intelligence?
a) 4
b) 3
c) 1
d) 2
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Which form is called as a conjunction of


disjunction of literals?
a) Conjunctive normal form
b) Disjunctive normal form
c) Normal form
d) All of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

What kind of clauses are available in


Conjunctive Normal Form?
a) Disjunction of literals
b) Disjunction of variables
c) Conjunction of literals
d) Conjunction of variables
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Quantifier ∀ is called ____ quantifier?


a) Existential
b) Universal
c) Both A and B
d) None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Quantifier ∃ is called _____ quantifier?


a) Existential
b) Universal
c) Both A and B
d) None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

What can be viewed as a single lateral of


disjunction?
a) Multiple clause
b) Combine clause
c) Unit clause
d) None of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Which is created by using single propositional


symbol?
a) Complex sentences
b) Atomic sentences
c) Composition sentences
d) None of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

What is the condition of literals in variables?


a) Existentially quantified
b) Universally quantified
c) Quantified
d) None of the mentioned
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

In case of existential quantifer, the


proposition p(x) over the universe U is
denoted by ____?
1. x∃p(x)
2. p(x)∃x
3. p(x)x∃
4. ∃x p(x)
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

In case of universal quantifer, the


proposition p(x) over the universe U is
denoted by ____?
a) x∀p(x)
b) p(x),∃∀
c) p(x),x∀
d) ∀x,p(x)
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Let P (x) denote the statement “x >7.”


Which of these have truth value true?
a) P (0)
b) P (4)
c) P (6)
d) P (9)
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

A predicate is a proposition containing ____,


which is what's dealt with in predicate
logic?
1. Statics
2. Variables
3. Numbers
4. None
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Predicates represent one or more variables


that are determined on a specific ____?
1.Domain
2.Co-domain
3.Both a and b
4.None of the above
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

A ____ quantifies a variable of a predicate?


1.Proposition
2.Quantity
3.Quality
4.Quantifier
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

THANK YOU
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

WELCOME To Our Channel


INSIGHT CS - IT
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Topic :- Propositional Logic


Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

What is a proposition?
▪ A proposition is the basic building block of logic.
▪ It is defined as a declarative sentence that is either True or False, but not both.
▪ The Truth Value of a proposition is True(denoted as T) if it is a true statement,
and False(denoted as F) if it is a false statement. For Example –
▪ The sun rises in the East and sets in the West.
▪ 1+1=2
▪ 'b' is a vowel.
▪ Are you tired?
▪ What a bright sunny day!
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Types Of Propositions-

1. Atomic propositions
2. Compound propositions
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

1. Atomic Propositions-
▪ Atomic propositions are those propositions that can not be divided further.
▪ Small letters like p, q, r, s etc are used to represent atomic propositions.

The examples of atomic propositions are-


▪ p : Sun rises in the east.
▪ q : Sun sets in the west.
▪ r : Apples are red.
▪ s : Grapes are green.
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )
Compound Propositions-
▪ Compound propositions are those propositions that are formed by
combining one or more atomic propositions using connectives.
▪ In other words, compound propositions are those propositions that contain
some connective.
▪ Capital letters like P, Q, R, S etc are used to represent compound
propositions.
Examples-
▪ P : Sun rises in the east and Sun sets in the west.
▪ Q : Apples are red and Grapes are green.
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Following kinds of statements are not propositions-


1.Command
2.Question
3.Exclamation
4.Inconsistent
5.Predicate or Proposition Function

Examples-

Following statements are not propositions-


▪ Close the door. (Command)
▪ Do you speak French? (Question)
▪ What a beautiful picture! (Exclamation)
▪ I always tell lie. (Inconsistent)
▪ P(x) : x + 3 = 5 (Predicate)
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

In propositional logic, there are 5 basic connectives-


1. Negation-
If p is a proposition, then negation of p is a proposition which is-
▪ True when p is false
▪ False when p is true.

Example-

If p : It is raining outside.
Then, Negation of p is-
∼p : It is not raining outside.
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

2. Conjunction-
If p and q are two propositions, then conjunction of p and q is a
proposition which is-
▪ True when both p and q are true
▪ False when both p and q are false
Example-
f p and q are two propositions where-
▪ p:2+4=6
▪ q : It is raining outside.

Then, conjunction of p and q is-


p ∧ q : 2 + 4 = 6 and it is raining outside
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Disjunction-

If p and q are two propositions, then disjunction of p and q is a proposition which is-
▪ True when either one of p or q or both are true
▪ False when both p and q are false

Example-

If p and q are two propositions where-


▪ p:2+4=6
▪ q : It is raining outside

Then, disjunction of p and q is-


p ∨ q : 2 + 4 = 6 or it is raining outside
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Conditional-

If p and q are two propositions, then-


▪ Proposition of the type “If p then q” is called a conditional or implication proposition.
▪ It is true when both p and q are true or when p is false.
▪ It is false when p is true and q is false.

Examples-

▪ If a = b and b = c then a = c.
▪ If I will go to Australia, then I will earn more money.
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

Biconditional-

If p and q are two propositions, then-


▪ Proposition of the type “p if and only if q” is called a biconditional or bi-implication proposition.
▪ It is true when either both p and q are true or both p and q are false.
▪ It is false in all other cases.

Examples-

▪ He goes to play a match if and only if it does not rain.


▪ Birds fly if and only if sky is clear.
Artificial Intelligence Question Practice ( Mission Bihar STET 2023 )

THANK YOU
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

TOPIC
CLOUD COMPUTING
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

What Is Cloud Computing ?

▪ Cloud computing means storing and accessing the data and


programs on remote servers that are hosted on the internet
instead of the computer’s hard drive or local server.

▪ Cloud computing is also referred to as Internet-based


computing.
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Cloud Service Provider Companies

▪ Amazon Web Services (AWS)


▪ Microsoft Azure
▪ Google Cloud Platform
▪ IBM Cloud Services
▪ VMware Cloud
▪ Oracle cloud
▪ Alibaba Cloud
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Deployment Models

PUBLIC CLOUD
The Public Cloud allows systems and services to be easily accessible to the general public.
Public cloud may be less secure because of its openness, e.g., e-mail.
PRIVATE CLOUD
The Private Cloud allows systems and services to be accessible within an organization. It
offers increased security because of its private nature.
COMMUNITY CLOUD
The Community Cloud allows systems and services to be accessible by group of organizations.
HYBRID CLOUD
The Hybrid Cloud is mixture of public and private cloud. However, the critical activities are
performed using private cloud while the non-critical activities are performed using public
cloud.
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Service Models

▪ Infrastructure as a Service (IaaS)


▪ Platform as a Service (PaaS)
▪ Software as a Service (SaaS)
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

IASS PAAS SAAS


▪ Infrastructure as a ▪ Platform as a service. ▪ Software as a
service. ▪ PAAS is used by service.
▪ IAAS is used by developers. ▪ SAAS is used by the
network architects. ▪ Facebook, and Google end user.
▪ Amazon Web search engine. ▪ MS Office web,
Services, sun, Facebook and
vCloud Express. Google Apps.
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

QUESTION PRACTICE
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

What is Cloud Computing?


a) Cloud Computing means providing services like storage,
servers, database, networking, etc
b) Cloud Computing means storing data in a database
c) Cloud Computing is a tool used to create an application
d) None of the mentioned
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Who is the father of cloud computing?


a) Sharon B. Codd
b) Edgar Frank Codd
c) J.C.R. Licklider
d) Charles Bachman
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which of the following is not a type of cloud


server?
a) Public Cloud Servers
b) Private Cloud Servers
c) Dedicated Cloud Servers
d) Merged Cloud Servers
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which of the following are the features of cloud


computing?
a) Security
b) Availability
c) Large Network Access
d) All of the mentioned
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which of the following is a type of cloud


computing service?
a) Service-as-a-Software (SaaS)
b) Software-and-a-Server (SaaS)
c) Software-as-a-Service (SaaS)
d) Software-as-a-Server (SaaS)
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which of the following is the application of


cloud computing?
a) Adobe
b) Paypal
c) Google G Suite
d) All of the above
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which of the following is an example of the


cloud?
a) Amazon Web Services (AWS)
b) Dropbox
c) Cisco WebEx
d) All of the above
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Applications and services that run on a distributed


network using virtualized resources is known as ______
a) Parallel computing
b) Soft computing
c) Distributed computing
d) Cloud computing
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which of the following is an example of a


PaaS cloud service?
a) Heroku
b) AWS Elastic Beanstalk
c) Windows Azure
d) All of the above
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which of the following is the Cloud Platform provided


by Amazon?
a) AWS
b) Cloudera
c) Azure
d) All of the mentioned
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which of the following is the most important area of


concern in cloud computing?
a) Scalability
b) Storage
c) Security
d) All of the mentioned
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which of the following is not a property of


cloud computing?
a) virtualization
b) composability
c) scalability
d) all of the mentioned
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

How many phases are there in Cloud Computing


Planning?
a) 1
b) 5
c) 3
d) 6
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which one of the following options can be considered


as the Cloud?
a) Hadoop
a) Intranet
b) Web Applications
c) All of the mentioned
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

Which one of the following refers to the non-functional


requirements like disaster recovery, security, reliability, etc.
a) Service Development
b) Quality of service
c) Plan Development
d) Technical Service
Cloud Computing Question Practice ( Mission Bihar STET 2023 )

THANK YOU
BSTET COMPUTER SCIENCE TEACHER
Computer Science Paper (100 Marks) Complete Preparation

Unit - 1

INTERNET OF THINGS

By- Punam
2 Times UGC NET Qualified (Computer Science)
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

IoT stands for Internet of Things. It refers to the


interconnectedness of physical devices, such as appliances and
vehicles, that are embedded with software, sensors, and
connectivity which enables these objects to connect and exchange
data.

IoT is network of interconnected computing devices which are


embedded in everyday objects, enabling them to send and receive
data.
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Main components used in IoT:

▪ Low-power embedded systems: Less battery consumption, high


performance are the inverse factors that play a significant role
during the design of electronic systems.

▪ Sensors: Sensors are the major part of any IoT application. It is a


physical device that measures and detects certain physical
quantities and converts it into signal which can be provided as an
input to processing or control unit for analysis purpose.
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Different types of Sensors:


1.Temperature Sensors
2.Image Sensors
3.Gyro Sensors
4.Obstacle Sensors
5.RF Sensor
6.IR Sensor
8.LDR Sensor
9.Ultrasonic Distance Sensor
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

What is the full form of IoT?


a) Internet of Technology
b) Incorporate of Things
c) Internet of Things
d) Incorporate of Technology
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

What is IoT?
a) network of physical objects embedded with sensors
b) network of virtual objects
c) network of objects in the ring structure
d) network of sensors
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Who coined the term “Internet of Things”?


a) Kevin Aston
b) John Wright
c) Edward Jameson
d) George Garton
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which of the following is false about IoT devices?


a) IoT devices use the internet for collecting and sharing data
b) IoT devices need microcontrollers
c) IoT devices use wireless technology
d) IoT devices are completely safe
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which of the following is used to capture data from the


physical world in IoT devices?
a) Sensors
b) Actuators
c) Microprocessors
d) Microcontrollers
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which of the following is the way in which an IoT device is


associated with data?
1.Internet
2.Cloud
3.Automata
4.Network
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which of the following IoT networks has a very short range?


1.Short Network
2.LPWAN
3.SigFox
4.Short-range Wireless Network
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

What is the full form of the LPWAN?


1.Low Protocol Wide Area Network
2.Low Power Wide Area Network
3.Long Protocol Wide Area Network
4.Long Power Wide Area Network
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

An IoT network is a collection of ______ devices.


1.Signal
2.Machine to Machine
3.Interconnected
4.Network to Network
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which one of the following is not an IoT device?


1.Amazon echo voice controller
2.Google Home
3.Nest Smoke Alarm
4.None of these
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

What is the main purpose of WoT (Web of Things) in the IoT?


1.Improve the usability and interoperability
2.Reduce the security
3.Complex the development
4.Increase the cost
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

What is the Arduino UNO?


1.Software
2.Hardware device
3.Network
4.Protocol
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which of the following is not an application of IoT?


1.Wearables
2.Smart Grid
3.Arduino
4.Smart City
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which one of the following protocols is lightweight?


1.IP
2.HTTP
3.MQTT
4.CoAP
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

How many numbers of the element in the open IoT architecture?


1.Four elements
2.Five elements
3.Six elements
4.Seven elements
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

What is the real example of a smart grid device in IoT?


1.Mobile phone
2.Television
3.Smart Speaker
4.Smart Meters
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

What is the full form of the MQTT?


1.Multi-Queue Telemetry Things
2.Multiple Queue Telemetry Things
3.Message Queue Telemetry Things
4.Message Queue Telemetry Transport
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

What is the full form of IANA?


1.Inter-Assessment-Number-Access
2.Internet-Association-Numbers-Authority
3.International-Aid-for-Network-Authority
4.Internet-Assigned-Numbers-Authority
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which of the following layers provides end-to-end


communication in IoT?
1.Logical layer
2.Data link layer
3.Transport layer
4.Session layer
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

What is the full form of HDLC?


1.Higher Data Level Communication
2.Higher Data Link Communication
3.High-level Data Link Control
4.High Data Level Control
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

When the clock line SCL is high, the SDA is ____


transitioned.
1.Low
2.High
3.Medium
4.All of the these
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which of the following topology is used for ZigBee Smart


Energy?
1.Bus Topology
2.Ring Topology
3.Star Topology
4.Any Topology
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

How many types of capacitive touch sensors in IoT?


1.Two types
2.Five types
3.Seven types
4.Nine types
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which of the following languages does GSN work on?


1.Python
2.JAVA
3.Android
4.C++
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

Which of the following is the example of a short-range wireless


network?
1.VPN
2.Wi-Fi
3.Internet
4.WWW
Internet Of Thing ( IOT )Question Practice ( Mission Bihar STET 2023 )

THANK YOU
BSTET COMPUTER SCIENCE TEACHER
Computer Science Paper (100 Marks) Complete Preparation

Unit - 1

Theory Of Computation Unit - 11

By- Punam
2 Times UGC NET Qualified (Computer Science)
Syllabus
▪ Introduction; Alphabets, Strings and Languages; Automata and Grammars, Deterministic finite Automata (DFA)-Formal
Definition, Simplified notation: State transition graph, Transition table, Language of DFA, Non-deterministic finite
Automata (NFA), NFA with epsilon transition, Language of NFA, Equivalence of NFA and DFA, Minimization of Finite
Automata, Distinguishing one string from other.⚫
▪ Regular expression (RE), Definition, Operators of regular expression and their precedence, Algebraic laws for Regular
expressions, Kleen's Theorem, Regular expression to FA, DFA to Regular expression, Arden Theorem, Non Regular
Languages, Pumping Lemma for regular Languages. Application of Pumping Lemma, Closure properties of Regular
Languages, Decision properties of Regular Languages, FA with output: Moore and Mealy machine, Equivalence of
Moore and Mealy Machine, Applications and Limitation of FA.
▪ Context free grammar (CFG) and Context Free Languages (CFL): Definition, Examples, Derivation Derivation trees,
Ambiguity in Grammer, Inherent ambiguity, Ambiguous to Unambiguous CFG, Useless symbols, Simplification of CFGs,
Normal forms for CFGS: CNF and GNF, Closure properties of CFLs, Decision Properties of CFLs: Emptiness, Finiteness and
Membership, Pumping lemma for CFLs.
▪ Push Down Automata (PDA): Description and definition, Instantaneous Description, Language of PDA, Acceptance by
Final state, Acceptance by empty stack. Deterministic PDA, Equivalence of PDA and CFG, CFG to PDA and PDA to CFG,
Two stack PDA
▪ Turing machines (TM): Basic model, definition and representation, Instantaneous Description, Language acceptance by
TM, Variants of Turing Machine, TM as Computer of Integer functions, Universal TM, Church's Thesis, Recursive and
recursively enumerable languages, Halting problem, Introduction to Undecidability, Undecidable problems about TMs.
Post correspondence problem (PCP), Modified PCP, Introduction to recursive function theory
▪ Regular Language and Finite Automata
• Language
• Grammer
• Automata ( Machine )

▪ Context Free language and Push down automata

▪ REC, RC, and Turing machine

▪ Closure Properties and Undecidability


• Tables
• Language Identification
• Machine ( Automata )
Language
A language is a set of strings from some alphabet (finite or infinite).

Symbol
Symbols simply call it as a character.
It is an atomic unit, such as a digit, character, lowercase letter, etc.

Alphabet
The set of characters is called as the alphabet.
An alphabet is a finite, non-empty set of symbols. It is denoted by Σ or E.

String or Word
A string is a finite set sequence of symbols choose from some alphabets
Grammer
Grammar in theory of computation is a finite set of formal rules that are generating syntactically correct
sentences.

The formal definition of grammar is that it is defined as four tuples −


G is a grammar, which consists of a set of production rules. It is used to generate the strings of a language.

▪ T is the final set of terminal symbols. It is denoted by lower case letters.


▪ V is the final set of non-terminal symbols. It is denoted by capital letters.
▪ P is a set of production rules, which is used for replacing non-terminal symbols (on the left side of
production) in a string with other terminals (on the right side of production).
▪ S is the start symbol used to derive the string.

Example 1
Consider a grammar
G = (V , T , P , S)
Where,
V = { S , A , B } ⇒ Non-Terminal symbols T = { a , b } ⇒ Terminal symbols Production rules P = { S → ABa , A → BB ,
B → ab , AA → b } S = { S } ⇒ Start symbol
Automata
Automata theory is a branch of the theory of computation. It deals with the
study of abstract machines and their capacities for computation. An abstract
machine is called the automata.
Chomsky Hierarchy
BSTET COMPUTER SCIENCE TEACHER
Computer Science Paper (100 Marks) Complete Preparation

Unit - 1

Theory Of Computation Unit - 11

By- Punam
2 Times UGC NET Qualified (Computer Science)
QUESTION PRACTICE..
Which of the following automatons is the most powerful?
1.Finite Automaton
2.Pushdown Automaton
3.Turing Machine
4.None of the above
Context-free grammar can be recognized by ____.
1.Finite Automaton
2.Pushdown Automaton
3.Turing Machine
4.Linear Bounded
Which of the following statement is True?
1.Every type 2 language is also a type 1 and a type 3
2.Every type 2 language is also a type 3 and a type 0
3.Every type 2 language is also a type 1 and a type 0
4.None
According to Chomsky's hierarchy which of the following
represents Regular grammar?
1.TYPE 3
1.TYPE 2
2.TYPE 1
3.TYPE 0
According to Chomsky's hierarchy which of the following
represents context-free grammar?
1.TYPE 3
2.TYPE 2
3.TYPE 1
4.TYPE 0
According to Chomsky's hierarchy which of the following
represents unrestricted grammar?
1.TYPE 3
2.TYPE 2
3.TYPE 1
4.TYPE 0
What do you mean by CNF?
1.Chomsky's normal form
2.Chimpken normal form
3.Campbell's normal form
4.None
The language accepted by a Push down Automata:
1.Type0
2.Type1
3.Type2
4.Type3
What is a Finite automaton?
1.A Finite automaton is an automaton having an infinite
number of states.
2.A Finite automaton is an automaton having a finite number
of states
3.Both
4.None
An automaton is made up of ____.
1.States
2.Transitions
3.Both
4.None
In the theory of automation, how do we represent states?
1.Rectangle
2.Arrow
3.Circles
4.Both
5.None
In the theory of automation, how do we represent transitions?
1.Triangle
2.Circles
3.Double circles
4.Arrows
The extra memory in pushdown automata is known as ____.
1.Heap
2.Array
3.Stack
4.None
____ are entities or single objects that can be any letter,
alphabet, or picture.
1.Objects
2.Transitions
3.Symbols
4.Alphabets
What are the alphabets in the theory of computations?
1.Alphabets are a finite set of symbols
2.Alphabets are an infinite set of symbols
3.Both
4.None
Which of the following is used to denote alphabets?
1.W
2.∑
3.|W|
4.~
____ is a finite collection of symbols from the alphabet.
1.Switch
2.String
3.State
4.Symbols
Empty string is denoted by ____.
1.0
2.E
3.$
4.ε
Length of a string is represented by ____.
1.Null
2.L
3.|Length|
4.|w|
How many states do finite automata have?
1.1
2.2
3.3
4.None
2How many types of finite automata are there?
1.4
2.3
3.5
4.2
In the ____, the machine only goes to one state for each
input character.
1.DFA
2.NFA
3.CAN
4.None
A finite automaton is a collection of how many tuples?
1.5
2.4
3.7
4.3
Which of the following indicates accepting or final states?
1.Double circles
2.Triangle
3.Double dash
4.circle
THANK YOU
BSTET COMPUTER SCIENCE TEACHER
Computer Science Paper (100 Marks) Complete Preparation

Unit - 1

E – Commerce / Multimedia

By- Punam
2 Times UGC NET Qualified (Computer Science)
E - Commerce
E-Commerce stands for _______.
1. Electrical Commerce
2.Electronic Commerce
3.Entertainment Commerce
4.ElectroChemical Commerce
__________ is an early form of E-commerce
1. SCM
2.EDI
3.Both of these
4.Neither of these
____________ is concerned with the buying and selling
information, products and services over computer
communication networks
1. Commerce
2.E-Commerce
3.E-Business
4.None of these
_______ is a function of E commerce.
1. Marketing
2.Supply Chain
3.Finance
4.All of the above
1.________mainly deals with buying and selling, especially on
a large scale.
1. Shopping
2.Commerce
3.Retailing
4.Distribution
_______is a system of interconnected electronic components
or circuits.
1. Electronic Network
2.Marketplaces
3.Electronic Markets
4.Metamarkets
Some marketers or companies charge other companies for letting
them place a banner on their websites, blogs or platforms known
as the ___________E-Commerce Model.
1. Affiliate
2.Transaction
3.Aggregator
4.Advertising
MULTIMEDIA
Video Files are available in…….. Formats
a) AVI
b) JPG
c) PNG
d) PDF
Object on the slide that hold text are called
a) Placeholders
b) Auto layout
c) Textholder
d) Objectholders
Which Principles are used in digitization of multimedia
content
i) Sampling
ii) Quantization

a) Only I
b) Only ii
c) None
d) Both
A
THANK YOU
WELCOME To Our Channel
INSIGHT CS - IT
1. A network that links many different
type of computers all over the world.
a) Intranet
b) Internet
c) Extranet
d) LAN
2. Example of computer full duplex mode is
a) Telephone
b) Internet broadcasting
c) Both A and B
d) Television
3. Which of the through is share the data
of two computer?
a) Library
b) Network
c) Grouping
d) Integrated system
4. Computer data transmission mode in
which data can flow in both directions
but not at the same time is called
a) simplex mode
b) half duplex mode
c) full duplex mode
d) duplex mode
5. Way in which computer data is transmitted
from one place to another is called
a) Transmission mode
b) Transfer mode
c) Sending mode
d) Receiving mode
6. Which of the following best describes
uploading information?
a) Sorting data on a disk drive
b) Sending information to a host computer
c) Receiving information from a host computer
d) Sorting data on a hard drive
7. System in a computer which translates
an IP address into an easier name is called
a) Packet-switching domain system
b) Domain name system
c) Domain
d) Domain numbering system
8. All of the following are top-level
computer domains except
a) .edu
b) .org
c) .gov
d) .army
9. The combination of two or more
interconnected networks is called
a) Internetwork
b) LAN
c) MAN
d) WAN
10. Which of the following
transmission directions listed is not a
legitimate channel?
a) Simplex
b) Half Duplex
c) Full Duplex
d) Double Duplex
11. Which type of topology is best suited
for large businesses which must carefully
control and coordinate the operation of
distributed branch outlets?
a) Ring
b) Local area
c) Hierarchical
d) Star
12. What covers a larger geographical
area than MAN?
a) WAN
b) LAN
c) Both A and B
d) None of the above
13. “Parity bits” are used for which of
the following purposes?
a) Encryption of data
b) To transmit faster
c) To detect errors
d) To identify the user
14. A collection of hyperlinked
documents on the internet forms the ?.
a) World Wide Web (WWW)
b) E-mail system
c) Mailing list
d) Hypertext markup language
15. The location of a resource on the
internet is given by its?
a) Protocol
b) URL
c) E-mail address
d) ICQ
16. The term HTTP stands for?
a) Hyper terminal tracing program
b) Hypertext tracing protocol
c) Hypertext transfer protocol
d) Hypertext transfer program
17. A proxy server is used as the
computer?
a) With external access
b) Acting as a backup
c) Performing file handling
d) Accessing user permissions
18. Which software prevents the
external access to a system?
a) Firewall
b) Gateway
c) Router
d) Virus checker
19. Which one of the following is a valid
email address?
a) [email protected]
b) gmail.com
c) [email protected]
d) javatpoint@books
20. Which one of the following is the most
common internet protocol?
a) HTML
b) NetBEUI
c) TCP/IP
d) IPX/SPX
21. Which one of the following is not a
network topology?
a) Star
b) Ring
c) Bus
d) Peer to Peer
22. The maximum length (in bytes) of
an IPv4 datagram is?
a) 32
b) 1024
c) 65535
d) 512
23. The length of an IPv6 address is?
a) 32 bits
b) 64 bits
c) 128 bits
d) 256 bits
24. The length of an IPv4 address is?
a) 32 bits
b) 64 bits
c) 128 bits
d) 256 bits
25. The term IANA stands for?
a) Internet Assigned Numbers Authority
b) Internal Assigned Numbers Authority
c) Internet Associative Numbers Authoritative
d) Internal Associative Numbers Authority
THANK YOU
WELCOME To Our Channel
INSIGHT CS - IT
26. The first Network
a) ARPANET
b) CNNET
c) NSFNET
d) ASAPNET
e) None of these
27. How many versions available of IP?
a) 6 version
b) 4 version
c) 2 version
d) 1 version
28. The term IPv4 stands for?
a) Internet Protocol Version 4
b) Internet Programming Version 4
c) International Programming Version
d) None of these
29. Which of the following methods is
used to broadcast two packets on the
medium at a time?
a) Collision
b) Synchronous
c) Asynchronous
d) None of the above
30. The private key in asymmetric key
cryptography is kept by?
a) Sender
b) Receiver
c) Sender and Receiver
d) None of the these
31. Mesh topology, have devices
which are connected via
a) single and multiple links
b) Multipoint link
c) Point to point link
d) No Link
32. LAN has mostly used the topologies
a) Bus
b) Ring
c) Star
d) All of these
33. Which topologies have two or more
Combination
a) multigrid
b) Star Topology
c) Bus Topology
d) Ring topology
e) Hybrid
34. Which topology has the highest reliability?
A) Mesh topology
b) Star topology
c) Ring Topology
d) Bus Topology
e) none of these
35. Star Topology is basically based
on a central device ______
a) HUB
b) Switch
c) Gates
d) Both a and b
e) none of these
36. A topology that is responsible for
describing the geometric arrangement of
components that make up the LAN
a) Complex
b) Physical
c) Logical
d) Incremental
37. In a network, participating computers
are referred to as
a) Clients
b) Servers
c) Nodes
d) CPUs
e) both a and c
38. Tokens are involved in a topology.
a) Star
b) hybrid
c) Bus
d) Daisy Chaining
e) Ring
39. The performance of a data communications
network is highly dependeds on _____
a) Number of users
b) transmission
c) hardware and software
d) All of the above
40. Which type of protocol provides a
virtual terminal in TCP/IP model_____
a) SMTP
b) Telnet
c) HTTP
d) None of these
41. Which of the following protocols are
used for Email ?
a) TELNET and SMTP
b) SMTP and POP
c) POP and FTP
d) TELNET and FTP
42. Mobile Application Protocol typically
runs on top of which protocol______?
a) SMTP
b) SNMP
c) SS7
d) All of these
43. Computer and a keyboard involves_____
transmission to communicate
a) Automatic
b) Simplex
c) Half-duplex
d) Full-duplex
e) None of these
44. _____ physical path is used to travel
massages form one place to another
a) Path
b) Protocol
c) Route
d) Medium
e) None of these
45. Which of this is not a network edge device?
a) Switch
b) PC
c) Smartphones
d) Servers
e) None of these
THANK YOU
WELCOME To Our Channel
INSIGHT CS - IT
TOPIC :- E - MAIL
Who invented email?
a) Larry Page
b) Tim Barners
c) Ray Tomlinson
d) All of these
The user name and email server parts of
an email address are separated by
_______ symbol
a) #
b) @
c) &
c) $
An email may contain non-text
information which may be __________
a) downloaded
b) uploaded
c) erased
d) transmitted
The second part of email address
identifies ______
a) name of bank
b) name of the email server
c) name of individual user
d) name of the mobile phone operator
You can _________ an email if you want to
remember it is important, and this also puts the
email into a special folder for easy access
a) Star
b) Draft
c) Label
d) Reply
What sends a copy of an email to a new
recipient?
a) Reply
b) BCC
c) Reply All
d) Forward
The first part of email address
identifies____
a) name of the email server
b) name of the mobile phone operator
c) name of individual user
d) name of bank
Gmail.com, yahoo.com, yahoo.co.in,
ymail.com, rediff.com, rediffmail.com,
fastmail.fm, etc. are popular_________________
a) email servers
b) social media sites
c) FTP servers
d) None
SMTP stands for__________________
a) Simple Mail Transfer Protocol
b) Server Mail Transfer Protocol
c) Short mail transmission protocol
d) Small mail transmission protocol
What is the main folder in Gmail?
a) Inbox
b) Trash
c) SPAM
d) Star
What do we call the people we send an
email to?
a) Recipients
b) SPAM
c) Contacts
d) Inbox
In MS Office, ______ is the software for
managing emails
a) MS Publisher
b) MS Access
c) MS Outlook
d) None
In email communication, CC stands for
a) cold coffee
b) carbon copy
c) casual copy
d) blind carbon copy
The email ID of a person contains _______
parts
a) 4
b) 3
c) 2
d) 5
The file attached to an email is called
the _______
a) attachment
b) content
c) subject
d) BCC
The email ID of the secondary recipient
of email is entered in ______ field
a) CC
b) BCC
c) Subject
d) To
Unsolicited emails may be filtered and
separated into ____
a) inbox
b) spam bin
c) sent mails
d) draft
How do you properly format an email?
a) Subject, Body, Signature, Closing
b) Subject, Salutation, Body, Signature
c) Signature, Body, Salutation, Subject
d) Subject, Salutation, Body, Closing,
Signature
What does BCC stand for when sending
an email?
a) Blind Copy Carbon
b) Blind Copy of a Copy
c) Blind Carbon Copy
D Bulk Copy of a Copy
A half completed email may be saved for
later editing and transmission to the
receiver in ______ folder.
a) inbox
b) spam bin
c) sent mails
d) draft
What is the term used to describe what
Internet scammers do to trick people our
of their personal information?
a) Catfishing
b) Phishing
c) Hacking
d) Digital Theft
Which of these is correct email address?
a) userName@website@com
b) userName.website.com
C) userName.website@com
d) [email protected]
Which of the following statements is incorrect
with respect to writing e-mails?
a) We cannot add more than one address in the
"To" field.
b) We can leave the 'Bcc' field blank
c) We can leave the "Cc field blank.
d) The To' and 'Cc fields are often used
interchangeably.
What is the use of Carbon copy (CC)?
a) Recipients are invisible to all of the other
recipients of the message in CC
b) Recipients are visible to all of the other
recipients of the message in CC
c) Recipients are invisible to only one recipients
of the message in CC
d) None of the above
Which of the following is mandatory for
sending an email?
a) Body
b) Sender mail ID
c) Attachment
d) Subject
What is included in an E-mail address?
a) Domain name followed by user's name
b) User's name followed by domain name
c) User's name followed by postal address
d) User's name followed by Street address
A block of text automatically added to
the end of an outgoing email is called
an/a
a) Attachment
b) Signature
c) Decryption
d) Encryption
THANK YOU
WELCOME To Our Channel
INSIGHT CS - IT
TOPIC
OSI Or TCP / IP MODEL
OSI Model TCP / IP Model
▪ It stands for Open System Interconnection. ▪ It stands for Transmission Control Protocol.

▪ It consists of 7 layers. ▪ It consists of 4 layers.

▪ OSI model has been developed by ISO ▪ It was developed by ARPANET (Advanced
(International Standard Organization) Research Project Agency Network).

▪ In this model, the session and ▪ In this model, the session and presentation
presentation layers are separated, i.e., layer are not different layers. Both layers are
both the layers are different.. included in the application layer.
Layer 1: The Physical Layer
Data encoding, Transmission technique, Physical medium
transmission:

Layer 2: The data-link layer


Frame Traffic Control, Frame Sequencing, Frame
Acknowledgment, Frame Delimiting: Link Establishment and
Termination: Frame Error Checking , Media access
management
Layer 3: The Network Layer
Connection setup • Addressing • Routing • Security •
Quality of Service • Fragmentation

Layer 4: The Transport Layer


Resource Utilization (multiplexing)
Connection Management (establishing & terminating)
Flow Control (Buffering / Windowing)
Layer 5: The Session Layer
Simplex:, Half Duplex, Full Duplex

Layer 6: The Presentation Layer


Data representation
Data security
Data compression:
Layer 7: The Application Layer
Resource sharing and device redirection • Remote
file access • Remote printer access • Network
management • Directory services • Electronic
messaging (such as mail) etc
OSI stands for
a) open system interconnection
b) operating system interface
c) optical service implementation
d) none of the mentioned
The number of layers in ISO OSI
reference model is __________
a) 4
b) 5
c) 6
d) 7
The_________ layer lies between the
session layer and the application layer.
a. network layer
b. transport layer
c. data link layer
d. presentation layer
Segmentation and reassembly is the
responsibility of
a. 7th Layer
b. 6th Layer
c. 5th Layer
d. 4th layer
Decryption and encryption are the
features of
a. transport layer
b. Application layer
c. presentation layer
d. session layer
The layer is responsible for process
delivery
a. network layer
b. transport layer
c. session layer
d. data link layer
Which address identifies a process on
a host?
a. physical address
b. logical address
c. port address
d. specific address
The_________ layer uses data compression
to reduce the number of bits to be
transmitted.
a. presentation
b. network
c. data link
d. application
TCP/IP model does not have ______ layer
but OSI model have this layer.
a) session layer
b) transport layer
c) application layer
d) network layer
Which layer is used to link the network
support layers and user support layers?
a) session layer
b) data link layer
c) transport layer
d) network layer
THANK YOU
WELCOME To Our Channel
INSIGHT CS - IT
TOPIC
OSI Or TCP / IP MODEL
TCP/IP model was developed _____ the
OSI model.
a) prior to
b) after
c) simultaneous to
d) with no link to
Which layer is responsible for process
to process delivery in a general network
model?
a) network layer
b) transport layer
c) session layer
d) data link layer
The physical layer is concerned with
a) bit-by-bit delivery
b) process to process delivery
c) application to application delivery
d) port to port delivery
Which transmission media provides the
highest transmission speed in a
network?
a) coaxial cable
b) twisted pair cable
c) optical fiber
d) electrical cable
The physical layer is responsible for
a) line coding
b) channel coding
c) modulation
d) all of the mentioned
The physical layer translates logical
communication requests from the ______
into hardware specific operations.
a) data link layer
b) network layer
c) trasnport layer
d) application layer
Which is not a application layer protocol?
a) HTTP
b) SMTP
c) FTP
d) TCP
The packet of information at the
application layer is called __________
a) Packet
b) Message
c) Segment
d) Frame
Application layer offers _______ service.
a) End to end
b) Process to process
c) Both End to end and Process to process
d) None of the mentioned
Electronic mail uses which Application
layer protocol?
a) SMTP
b) HTTP
c) FTP
d) SIP
The network layer is concerned with
__________ of data.
a) bits
b) frames
c) packets
d) bytes
Which one of the following is not a
function of network layer?
a) routing
b) inter-networking
c) congestion control
d) error control
A 4 byte IP address consists of _______
a) only network address
b) only host address
c) network address & host address
d) network address & MAC address
Which of the following routing algorithms
can be used for network layer design?
a) shortest path algorithm
b) distance vector routing
c) link state routing
d) all of the mentioned
The data link layer takes the packets
from _________ and encapsulates them
into frames for transmission.
a) network layer
b) physical layer
c) transport layer
d) application layer
A message travels over a physical
path is called___.
a) Signals
b) Medium
c) Protocols
d) All the above
Which address identifies a process on a
host?
a. physical address
b. logical address
c. port address
d. specific address
The physical layer is responsible for
movements of individual
a) Frames
b) Bit
c) Packet
d) Bytes
A device that operates below the physical
layer of the OSI model is
a) active hub
b) repeater
c) bridge
d) passive hub
IEEE 802.11 covers the physical layer and
a) Datalink layer
b) Network layer
c) Session layer
d) Transport layer
Wireless transmission can be done via
a) microwaves
b) radio waves
c) infrared
d) all of the mentioned
THANK YOU

You might also like