CPTC
Question bank of CPTC
Sub Code: - 1600302
2019(Odd)
Time : 3Hrs
Sem. III / CSE
C.P.T ‘C’
Full Marks : 70
Pass marks : 28
1. Choose the most suitable answer from the following options: - (1*20=20)(i) Which of the following special symbol allowed in a variable name ?
(a) * (Asterisk )
(b) | (Pipeline )
(c) - ( Hyphen )
(d) _ (Underline )
(ii) Which of the following is not a keyword in c language
(a) Getchar
(b) Int
(c) Void
(d) Volatile
(iii) Which header file is designed for basic mathematical operation ?
(a) Stdio.h
(b) Dos.h
(c) Math.h
(d) Conio.h
(iv) What is the symbol used for conditional operator ?
(a) ==
(b) /
(c) ?=
(d) ? :
(v) What is the extension files by default for C program ?
(a) “ .doc”
(b) “ .ppt”
(c) “ .c”
(d) “ .exe”
(vi) The structure combines variable of ……………………data type.
(a) Similar
(b) Variable
(c) Dissimilar
(d) None of these
(vii) The………..statement causes the loop to be terminated
(a) Continue
(b) Default
(c) Break
(d) Exit .
(viii) Which of the following is false in C
(a) Variable name do not contain a blank space
(b) Keyword can be used as variable names
(c) Capital letters can be used in variable name .
(d) Variable names can contain a digit .
(ix) Which of the following is the correct way of declaring a float pointer
(a) float * ptr ;
(b) *float ptr ;
(c) float ptr;
(d) None of the above
(x) Which committee standardize c programming language ?
(a) ISO
(b) TRAI
(c) ANSI
(d) W3C
(xi) Which of the following cannot be checked in a switch case statement ?
(a) Float
(b) Integer
(c) Character
(d) None of the above
(xii) Which one of the following is a bitwise operator ?
(a) ==
(b) =
(c) <
(d) <<
(xiii) Which one is the special operator ?
(a) <<
(b) ++
(c) ? :
(d) Size of ()
(xiv) Which of the following is example of call by value ?
(a) Num (*a, *b)
(b) Num (a,b)
(c) Num (&a ,&b)
(d) None of the above
(xv) Which is syntax of for loop ?
(a) for(initialization; condition; increment / decrement )
(b) for (increment ;expression; condition )
(c) for (condition; expression; statement )
(d) for (expression; condition; statement )
(xvi) How many element can be store in the array A[35] ?
(a) 36
(b) 37
(c) 35
(d) 34
(xvii) How many of bytes in memory required foe single character in computer
(a) 8 bytes
(b) 2 bytes
(c) 4 bytes
(d) 1 byte
(xviii) Which of the following is correct precedence order from higher to lower
(a) ( ), <<, *, +
(b) ( ), * ,<<,+
(c) ( ),*,+,<<
(d) *, <<, ( ),+
(xix) What is the value range of data type unsigned short int
(a) -128 to 127
(b) 0 to 255
(c) 0 to 65535
(d) 0 to 128
(xx) P++ is called …………… operator
(a) Decrement
(b) Post Decrement
(c) Post increment
(d) pre increment
Group B
➥ Answer all Five Questions: - (5*4=20)
2. Define an algorithm. Write an algorithm to covert the temperature to Celsius.
Or
Explain different types of programming languages.
3. Write a ‘C’ program to find the biggest of given two numbers using conditional operator .
Or
What is an operator ? Describe different type of operator used in ‘C’ programming .
4. What is structure in c ? How structure is declared ?
Or
What is pointer ? How a pointer variable is declared and initialize ?
5. Define the function with suitable examples.
Or
What is Call by Value and Call by Reference ? Explain with suitable example .
6. Write a ‘C’ program to find the biggest number in a given array .
Or
Write a ‘C’ program to input 20 students name and print them .
Group C
➥ Answer all five question: - (5*6=30)
7. Write a ‘C’ program to find the value of Y using y(x ,n)=1+x,when n=1
1+x/n, when n=2
1+xn
, when n=3
1+nx
, when n>3 or n<1 div="">1>
( by the help of nested if )
Or
Write a ‘C’ programs to print the following outputs using for loops.
5 5 5 5 5
4 4 4 4
3 3 3
2 2
1
8. Define the data types of C- language. How many data types are available in C language ?
Or
If ages of Ram, Shyam and Ajay are input trough the keyboard . write a program to determine
the youngest of the three .
9. If length of three , slide of a triangle are input through the keyboard , write a program to find the
area of the triangle .
Or
What is an array ? Write an algorithm to search an element from an array .
10. Define the switch statement with suitable example .
Or
What is loop ? Define for loop with syntax and example .
11. Write a ‘C’ program to find square root of quadratic equation .
Or
What is token ? How many types of token are used in ‘C’ language . Explain in detail.
1. Choose the most suitable answer from the following options: - (1*20=20)
(i) MS Excel is used for creating :
(a) Presentation
(b) Documents
(c) Sending Mails
(d) Spreadsheets
(ii) In Excel, Chart are creating using :
(a) Pie chart
(b) Pivot Chart
(c) Pivot Chart
(d) Chart wizard
(iii) All macro, keyboard shortcuts include the …………key
(a) Alt
(b) Ctrl
(c) F11
(d) Shift
(iv) MS-Excel is a …………..
(a) Language
(b) system software
(c) Package
(d) None
(v) A worksheet can have a maximum of…………..Number of rows in MS excel 2000
(a) 256
(b) 1024
(c) 32000
(d) 65535
(vi) Short cut key to save a spread sheet ?
(a) Ctrl+S
(b) Alt+S
(c) F11+S
(d) Shift+S
(vii) Which tool bar allows changing of fonts and their size in MS Word
(a) Standard
(b) Formatting
(c) Print Preview
(d) None of these
(viii) From which menu you can insert Header and footer ?
(a) Insert Menu
(b) View Menu
(c) Format Menu
(d) Tolls Menu
(ix) What is the shortcut key you can press to create a copyright symbol ?
(a) Alt+Ctrl+C
(b) Alt+C
(c) Ctrl+C
(d) Ctrl+Shift+C
(x) What is the smallest and largest font size available in Font size tool on formatting tool
bar?
(a) 8 and 72
(b) 8 and 62
(c) 12 and 72
(d) None of the above
(xi) Which of the following is not a valid data type in excel ?
(a) Number
(b) Character
(c) Label
(d) Date / Time
(xii) Which menu option can be used to split windows into two ?
(a) Format Window
(b) View Window Split
(c) Window Split
(d) View Split
(xiii) Which of the following formulas will Excel Not be able to calculate ?
(a) =Sum(Sales) – A3
(b) =Sum(A1:A5)* .5
(c) =Sum(A1:A5)/(10/10)
(d) =Sum(A1:A5)-10
(xiv) To drag a selected range of data to another worksheet in the same workbook, use the
……..
(a) Tab Key
(b) Alt key
(c) Shift key
(d) Ctrl key
(xv) In a worksheet you can select ……………..
(a) The entire worksheet
(b) Rows
(c) Columns
(d) All of the above
(xvi) An excel worksheet in a collection of -
(a) Workbooks
(b) Works sheets
(c) Charts
(d) Work Sheet and Chart
(xvii) Excel files have a default extension of ?
(a) xls
(b) xlw
(c) Wki
(d) 123
(xviii) Which of the following is not one of power point view
(a) Slide show view
(b) Slide view
(c) Presentation
(d) Outline
(xix) Which short cut key inserts a new slide in current presentation
(a) Ctrl+N
(b) Ctrl+M
(c) Ctrl+S
(d) All of above
(xx) From which menu you can access picture, Test Box, Chart etc
(a) File
(b) Edit
(c) Insert
(d) View
2. What are the advantages of using open – office over MS -office. ?
3. What is absolute cell addressing in a worksheet ?
4. Describe the use of the formula bar .
5. Write the steps to create a macro in MS- Word 2000 .
6. Explain the use of auto sum feature in MS- Excel with suitable example .
➥ Answer all five questions: - (5×6=30)
7. Explain various task we can able to perform on to Excel comparing with MS –
Word .
8. Write the steps of creating a power point presentation and also explain various
main elements of office button
9. Explain the available formatting tools of MS Office .
10. Discuss the merit and limitation of word processing and spread – sheet software
of computer ?
MS- Excel .
11. Write short Note on :
(i) Working and manipulating data with Excel
(ii) Use of Dragging and moving
creating mail merge .
(i) Dynamic RAM consumes …………power and ……………..then the static RAM.?
(a) More, Faster
(b) More , Slower
(c) Less , Slower
(d) Less , Faster.
(ii) Which flag of the 8085’s flag register is not accessible to programming directly ?
(a) Zero flag
(b) Carry Flag
(c) Auxiliary Carry flag
(d) parity flag
(iii) Cache memory works on the principle
(a) Locality of reference
(b) Locality of data
(c) Locality of memory
(d) Locality of reference & memory
(iv) which of the memory holds the information when the power supply is switch off ?
(a) Dynamic RAM
(b) Static RAM
(c) EEROM
(d)None of the above
(v) which of the following interrupt is markable ?
(a) INTR
(b) RST 7.5
(c) TRAP
(d) Both (a) and (b)
(vi) Cycle Stealing technique is used in
(a) Interrupt based data transfer
(b) DMA based data transfer
(c) polled mode data transfer
(d) All the above
(vii) Which of the following is not a characteristic of a RISC architecture .
(a) Large Instruction Set
(b) One Instruction Per Cycle
(c) Simple Addressing Modes
(d) Register-to-Register Operation
(viii) Associative Memory is some times called as -
(a) Content Addressable Memory
(b) Cache memory
(c) Main memory
(d) Virtual Memory
(ix) Floating point Representation is used to store
(a) Integers
(b) Whole number
(c) Real Integer
(d) Boolean value
(x) What characteristics of RAM memory memory makes it not suitable for permanent stores ? (a) Too bulky
(b) Unreliable
(c) Too slow
(d) It is volatile
(xi) An instruction code is
(a) An output of a programme
(b) A group of bits that instruct the computer to perform specific operation
(c) The digital circuit that instruct the computer to perform specific operation
(d) None of the above
(xii) The program counter (PC) holds the address of
(a) The instruction is being executed
(b) The next instruction to be read form memory
(c) The operands
(d) None of these
(xiii) The function of the control unit in digital computer is
(a) To initiate sequence of micro operation
(b) To initiate the execution of a program
(c) To stop the execution of a program
(d) To shutdown the computer
(xiv) A memory that is the part of a control unit is known as -
(a) Internal Memory
(b) External Memory
(c) Command Memory
(d) Control Memory
(xv) A group of eight bits is known as-
(a) Nibble
(b) A byte
(c) An Octal
(d) Both (b) and (c)
(xvi) The tendency of a processor to access the same set of memory locations respectively over a short period of time is known as .
(a) Local effect
(b) Locality of reference
(c) Frame of reference
(d) All of the above
(xvii) The CPU state is saved in the event of a transfer control -
(a) Frame one instruction to a non-sequence instruction of a program
(b) From our program to another
(c) During execution of an instruction due to an interrupt cycle
(d) None of the above statement is true
(xviii) A computer sues RAM chips of 1024 ×1 capacity . How many chips are needed to provide a memory capacity of 16 K bytes .
(a) 16
(b) 128
(c) 32
(d) None of these
(xix) Booth’s algorithm is used for :
(a) Division
(b) Multiplication
(c) Subtraction
(d) Division and Multiplication
(xx) The instruction that does not need any address field is :
(a) Three address instructions
(b) Two address instructions
(c) One address instructions
(d) Zero address instructions
2. Write steps to Multiply two negative number using booth algorithm
3. What is ROM ? How does PROM differ from EEPROM ?
4. What are advantages and Disadvantages of hardwired and micro programmed control ?
5. Define interrupt and its type.
6. Define addressing mode and its type
7. Convert into binary
(a) (0.375)10
(b) (0.54545)10
(c) (38.210)10
Covert into decimal
(a) (73)8
(b) (125)8
(c) (35)16
8. What is a micro- operation ? List and briefly explain the most commonly encountered arithmetic operation
9. What do you mean by fetch cycle, instruction cycle, machine cycle , interrupt acknowledgment cycle ?
(i) RISC
(ii) CISC
10. An instruction is stored at location 300 with its address field at location 301. The address field has the value 400 A processor register R1 contains the number 200. Computer the effective address if the addressing mode of the instruction is
11. A person computer has main memory of 32 K × 8 bytes and cache memory of 512 words. The cache is directly mapped with block size of 4 words (i) How many bits are required in Tag, index block and word field of the address format
(i) Process synchronization can be done on-
(a) Hardware level
(b) software level
(c) Both (a) and (b)
(d) None
(ii) Which of the following do not belong to queues for processes ?
(a) job Queue
(b) PCB Queue
(c) Device Queue
(d) Ready Queue
(iii) In a time-sharing operating system, when the time slot given to a process is completed, the process
goes from the running state to the :-
(a) Blocked State
(b) Ready State
(c) Suspended State
(d) Terminated State
(iv) A process control block (PCB) does not contain which of the following .
(a) Code
(b) Stack
(c) Bootstrap program
(d) Data
(v) The number of process completed per unit time is known as -
(a) Output
(b) Throughput
(c) Efficiency
(d) Capacity
(vi) Which of the following is not the state of a process ?
(a) New
(b) Old
(c) Waiting
(d) Running
(vii) The Segment of code in which the process may charge common variable, update, tables write into file is
known as :-
(a) Program
(b) Critical Section
(c) Non- critical Section
(d) Synchronizing
(viii) Condition must be satisfied to solve the critical section
(a) Mutual Exclusion
(b) Progress
(c) Bounded Wait
(d) All the above
(ix) The request and release of resources are-
(a) Command line statements
(b) Interrupts
(c) System calls
(d) Special programme
(x) For sharable resource, mutual exclusion -
(a) Is required
(b) Is not required
(c) May be or May not be required
(d) None of these
(xi) Virtual memory is normally implemented by-
(a) Demand Paging
(b) Buses
(c) Virtualization
(d) All above
(xii) A page fault occurs when :
(a) A page gives inconsistent
(b) A page cannot be accessed due to its absent from memory
(c) A page is invisible
(d) All of above .
(xiii) Which of the following page replacement algorithms suffers from Belayd’s Anomaly ?
(a) Optimum replacement
(b) LRU
(c) FIFO
(d) Both (a) and (b)
(xiv) A process refers to 5 page ABCDE in order ABCDABEABCDE. If the page replacement algorithm in FIFO,
the number of page transfers with empty internal store of 3 frames is :
(a) 8
(b) 10
(c) 9
(d) 7
(xv) The circular wait condition can be prevented by :
(a) Define a linear ordering of resource type
(b) Using thread
(c) Using pipes
(d) All of above
(xvi) Which are of the following is dead lock avoidance algorithm
(a) Banker’s algorithm
(b) Round Robin algorithm
(c) Elevator algorithm
(d) kern’s algorithm
(xvii) To difference the many network services a system supports ……………….are used
(a) Variables
(b) sockets
(c) Ports
(d) service names
(xviii) RPC provides a (an)………….on the client side, a separate one for each remote procedure .
(a) Stub
(b) Identifier
(c) Name
(d) Process identifier
(xix) The Full form of RMI
(a) Remote Method Invocation
(b) Remote Method Installation
(c) Remote Memory Installation
(d) Remote Memory Invocation
(xx) A solution to the problem of external fragmentation is :
(a) Large memory size
(b) Compaction
(c) Smaller memory size
(d) None .
2. What do you mean by cooperative process .
3. What do you mean by PCB ? What are its contents?
4. Explain long Term Scheduler ?
5. Explain Paging in brief .
6. Discuss the services of operating system in brief .
7. What is process ? Draw and state the process state diagram ?
8. What is address binding ? Explain in the concept of dynamic relocation of
address ?.
(a) File type
(b) File operation
(c) File attributes
9. What are semaphore ? Explain solution of producer- Consumer problem using
semaphore ?
10. Describe necessary condition for a deadlock situation to arise .
11. Consider the reference stream 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6. How many page
faults which using FCFS and LRU using 2 frames ?
(a) Process management mode of LINUX
(b) Disk scheduling Mechanism
∎ By- Md Altaf Raja (CSE)
________________________________________________________________________________________________________________________________________________________________________________________________________
I S P
Question bank of ISP
Sub Code: - 1618303
2019 ( Odd )
Time : 3Hrs
Sem- III / CSE
I.S.P.
Full Marks : 70
Pass marks : 28
Group A
(i) MS Excel is used for creating :
(a) Presentation
(b) Documents
(c) Sending Mails
(d) Spreadsheets
(ii) In Excel, Chart are creating using :
(a) Pie chart
(b) Pivot Chart
(c) Pivot Chart
(d) Chart wizard
(iii) All macro, keyboard shortcuts include the …………key
(a) Alt
(b) Ctrl
(c) F11
(d) Shift
(iv) MS-Excel is a …………..
(a) Language
(b) system software
(c) Package
(d) None
(v) A worksheet can have a maximum of…………..Number of rows in MS excel 2000
(a) 256
(b) 1024
(c) 32000
(d) 65535
(vi) Short cut key to save a spread sheet ?
(a) Ctrl+S
(b) Alt+S
(c) F11+S
(d) Shift+S
(vii) Which tool bar allows changing of fonts and their size in MS Word
(a) Standard
(b) Formatting
(c) Print Preview
(d) None of these
(viii) From which menu you can insert Header and footer ?
(a) Insert Menu
(b) View Menu
(c) Format Menu
(d) Tolls Menu
(ix) What is the shortcut key you can press to create a copyright symbol ?
(a) Alt+Ctrl+C
(b) Alt+C
(c) Ctrl+C
(d) Ctrl+Shift+C
(x) What is the smallest and largest font size available in Font size tool on formatting tool
bar?
(a) 8 and 72
(b) 8 and 62
(c) 12 and 72
(d) None of the above
(xi) Which of the following is not a valid data type in excel ?
(a) Number
(b) Character
(c) Label
(d) Date / Time
(xii) Which menu option can be used to split windows into two ?
(a) Format Window
(b) View Window Split
(c) Window Split
(d) View Split
(xiii) Which of the following formulas will Excel Not be able to calculate ?
(a) =Sum(Sales) – A3
(b) =Sum(A1:A5)* .5
(c) =Sum(A1:A5)/(10/10)
(d) =Sum(A1:A5)-10
(xiv) To drag a selected range of data to another worksheet in the same workbook, use the
……..
(a) Tab Key
(b) Alt key
(c) Shift key
(d) Ctrl key
(xv) In a worksheet you can select ……………..
(a) The entire worksheet
(b) Rows
(c) Columns
(d) All of the above
(xvi) An excel worksheet in a collection of -
(a) Workbooks
(b) Works sheets
(c) Charts
(d) Work Sheet and Chart
(xvii) Excel files have a default extension of ?
(a) xls
(b) xlw
(c) Wki
(d) 123
(xviii) Which of the following is not one of power point view
(a) Slide show view
(b) Slide view
(c) Presentation
(d) Outline
(xix) Which short cut key inserts a new slide in current presentation
(a) Ctrl+N
(b) Ctrl+M
(c) Ctrl+S
(d) All of above
(xx) From which menu you can access picture, Test Box, Chart etc
(a) File
(b) Edit
(c) Insert
(d) View
Group B
➥ Answer all Five Questions: - (5×4=20)2. What are the advantages of using open – office over MS -office. ?
Or
How is table inserted into the word document ? Describe the procedure .3. What is absolute cell addressing in a worksheet ?
Or
What are major components of MS word 2000 ? Describe them .4. Describe the use of the formula bar .
Or
How do you think that MS power point is useful ? Justify .5. Write the steps to create a macro in MS- Word 2000 .
Or
How is picture inserted into the word document ? Describe the procedure .6. Explain the use of auto sum feature in MS- Excel with suitable example .
Or
Write the steps for sorting and filtering in MS Excel .
Group C
7. Explain various task we can able to perform on to Excel comparing with MS –
Word .
Or
What are two important aspects to perform the mail merge function ?8. Write the steps of creating a power point presentation and also explain various
main elements of office button
Or
Describe in detail function of the vertical and horizontal scroll bars ?9. Explain the available formatting tools of MS Office .
Or
Explain the steps for crating Header and Footer in MS- Word10. Discuss the merit and limitation of word processing and spread – sheet software
of computer ?
Or
What are the different categories of Charts ? Write the steps to create a chart inMS- Excel .
(i) Working and manipulating data with Excel
(ii) Use of Dragging and moving
Or
What is mail merge ? Write down its advantages and disadvantage and steps forcreating mail merge .
By – Md Altaf Raja (CSE)
________________________________________________________________________________________________________________________________________________________________________________________________________
C O A
Question bank of COA
Sub Code: - 1618304
2019 (Odd)
Time : 3Hrs
Sem. III / CSE
COA
Full Marks : 70
Pass marks : 28
Group A
1. Choose the most suitable answer from the following options: - (1 × 20=20)
(a) More, Faster
(b) More , Slower
(c) Less , Slower
(d) Less , Faster.
(ii) Which flag of the 8085’s flag register is not accessible to programming directly ?
(a) Zero flag
(b) Carry Flag
(c) Auxiliary Carry flag
(d) parity flag
(iii) Cache memory works on the principle
(a) Locality of reference
(b) Locality of data
(c) Locality of memory
(d) Locality of reference & memory
(iv) which of the memory holds the information when the power supply is switch off ?
(a) Dynamic RAM
(b) Static RAM
(c) EEROM
(d)None of the above
(v) which of the following interrupt is markable ?
(a) INTR
(b) RST 7.5
(c) TRAP
(d) Both (a) and (b)
(vi) Cycle Stealing technique is used in
(a) Interrupt based data transfer
(b) DMA based data transfer
(c) polled mode data transfer
(d) All the above
(vii) Which of the following is not a characteristic of a RISC architecture .
(a) Large Instruction Set
(b) One Instruction Per Cycle
(c) Simple Addressing Modes
(d) Register-to-Register Operation
(viii) Associative Memory is some times called as -
(a) Content Addressable Memory
(b) Cache memory
(c) Main memory
(d) Virtual Memory
(ix) Floating point Representation is used to store
(a) Integers
(b) Whole number
(c) Real Integer
(d) Boolean value
(x) What characteristics of RAM memory memory makes it not suitable for permanent stores ? (a) Too bulky
(b) Unreliable
(c) Too slow
(d) It is volatile
(xi) An instruction code is
(a) An output of a programme
(b) A group of bits that instruct the computer to perform specific operation
(c) The digital circuit that instruct the computer to perform specific operation
(d) None of the above
(xii) The program counter (PC) holds the address of
(a) The instruction is being executed
(b) The next instruction to be read form memory
(c) The operands
(d) None of these
(xiii) The function of the control unit in digital computer is
(a) To initiate sequence of micro operation
(b) To initiate the execution of a program
(c) To stop the execution of a program
(d) To shutdown the computer
(xiv) A memory that is the part of a control unit is known as -
(a) Internal Memory
(b) External Memory
(c) Command Memory
(d) Control Memory
(xv) A group of eight bits is known as-
(a) Nibble
(b) A byte
(c) An Octal
(d) Both (b) and (c)
(xvi) The tendency of a processor to access the same set of memory locations respectively over a short period of time is known as .
(a) Local effect
(b) Locality of reference
(c) Frame of reference
(d) All of the above
(xvii) The CPU state is saved in the event of a transfer control -
(a) Frame one instruction to a non-sequence instruction of a program
(b) From our program to another
(c) During execution of an instruction due to an interrupt cycle
(d) None of the above statement is true
(xviii) A computer sues RAM chips of 1024 ×1 capacity . How many chips are needed to provide a memory capacity of 16 K bytes .
(a) 16
(b) 128
(c) 32
(d) None of these
(xix) Booth’s algorithm is used for :
(a) Division
(b) Multiplication
(c) Subtraction
(d) Division and Multiplication
(xx) The instruction that does not need any address field is :
(a) Three address instructions
(b) Two address instructions
(c) One address instructions
(d) Zero address instructions
Group B
➥ Answer all Five Questions: - (5×4=20) 2. Write steps to Multiply two negative number using booth algorithm
OR
Write down the IEEE standards for floating point numbers3. What is ROM ? How does PROM differ from EEPROM ?
OR
Write the help of block diagram, discuss working of direct memory access (DMA) ?4. What are advantages and Disadvantages of hardwired and micro programmed control ?
OR
Define Cache memory.5. Define interrupt and its type.
OR
What do you mean by pipeline in computer organization6. Define addressing mode and its type
OR
Explain the role of stacks in programming
Group C
➥ Answer all Five Questions: - (5 × 6=30)7. Convert into binary
(a) (0.375)10
(b) (0.54545)10
(c) (38.210)10
OR
(a) (73)8
(b) (125)8
(c) (35)16
8. What is a micro- operation ? List and briefly explain the most commonly encountered arithmetic operation
OR
What do you mean by control unit ? Describe briefly a hardwired control unit . Also give its timing9. What do you mean by fetch cycle, instruction cycle, machine cycle , interrupt acknowledgment cycle ?
OR
Discuss in brief (With their advantage and disadvantage )(i) RISC
(ii) CISC
10. An instruction is stored at location 300 with its address field at location 301. The address field has the value 400 A processor register R1 contains the number 200. Computer the effective address if the addressing mode of the instruction is
OR
Explain the need of memory hierarchy with the help of a block diagram ? What is the reason for not having one large memory unit for storing all information at one place ?11. A person computer has main memory of 32 K × 8 bytes and cache memory of 512 words. The cache is directly mapped with block size of 4 words (i) How many bits are required in Tag, index block and word field of the address format
OR
What are various modes of data transfer between CPU and I/o devices ? explain in brief.
∎ By- Md Altaf Raja (CSE)
__________________________________________________________________________________________________________________________________________________________________
OPERATING SYSTEM
Question bank of OS
Sub Code - 1618305
2019 (Odd)
Time : 3Hrs
Sem. III / CSE
Operating system
Full Marks : 70
Pass marks : 28
Group A
1. Choose the most suitable answer from the following options: - (1*20=20)(i) Process synchronization can be done on-
(a) Hardware level
(b) software level
(c) Both (a) and (b)
(d) None
(ii) Which of the following do not belong to queues for processes ?
(a) job Queue
(b) PCB Queue
(c) Device Queue
(d) Ready Queue
(iii) In a time-sharing operating system, when the time slot given to a process is completed, the process
goes from the running state to the :-
(a) Blocked State
(b) Ready State
(c) Suspended State
(d) Terminated State
(iv) A process control block (PCB) does not contain which of the following .
(a) Code
(b) Stack
(c) Bootstrap program
(d) Data
(v) The number of process completed per unit time is known as -
(a) Output
(b) Throughput
(c) Efficiency
(d) Capacity
(vi) Which of the following is not the state of a process ?
(a) New
(b) Old
(c) Waiting
(d) Running
(vii) The Segment of code in which the process may charge common variable, update, tables write into file is
known as :-
(a) Program
(b) Critical Section
(c) Non- critical Section
(d) Synchronizing
(viii) Condition must be satisfied to solve the critical section
(a) Mutual Exclusion
(b) Progress
(c) Bounded Wait
(d) All the above
(ix) The request and release of resources are-
(a) Command line statements
(b) Interrupts
(c) System calls
(d) Special programme
(x) For sharable resource, mutual exclusion -
(a) Is required
(b) Is not required
(c) May be or May not be required
(d) None of these
(xi) Virtual memory is normally implemented by-
(a) Demand Paging
(b) Buses
(c) Virtualization
(d) All above
(xii) A page fault occurs when :
(a) A page gives inconsistent
(b) A page cannot be accessed due to its absent from memory
(c) A page is invisible
(d) All of above .
(xiii) Which of the following page replacement algorithms suffers from Belayd’s Anomaly ?
(a) Optimum replacement
(b) LRU
(c) FIFO
(d) Both (a) and (b)
(xiv) A process refers to 5 page ABCDE in order ABCDABEABCDE. If the page replacement algorithm in FIFO,
the number of page transfers with empty internal store of 3 frames is :
(a) 8
(b) 10
(c) 9
(d) 7
(xv) The circular wait condition can be prevented by :
(a) Define a linear ordering of resource type
(b) Using thread
(c) Using pipes
(d) All of above
(xvi) Which are of the following is dead lock avoidance algorithm
(a) Banker’s algorithm
(b) Round Robin algorithm
(c) Elevator algorithm
(d) kern’s algorithm
(xvii) To difference the many network services a system supports ……………….are used
(a) Variables
(b) sockets
(c) Ports
(d) service names
(xviii) RPC provides a (an)………….on the client side, a separate one for each remote procedure .
(a) Stub
(b) Identifier
(c) Name
(d) Process identifier
(xix) The Full form of RMI
(a) Remote Method Invocation
(b) Remote Method Installation
(c) Remote Memory Installation
(d) Remote Memory Invocation
(xx) A solution to the problem of external fragmentation is :
(a) Large memory size
(b) Compaction
(c) Smaller memory size
(d) None .
Group B
➥ Answer all Five Questions: - (5*4=20)2. What do you mean by cooperative process .
OR
Define system program . Explain in brief with example.
OR
OR
Explain direct and indirect communication of message passing4. Explain long Term Scheduler ?
OR
Explain short term Scheduler .5. Explain Paging in brief .
OR
Explain Segmentation in brief .6. Discuss the services of operating system in brief .
OR
What are two option of breaking deadlock ?
Group C
➥ Answer all Five Questions: - (5*6=30)
➥ Answer all Five Questions: - (5*6=30)
OR
Explain concept of virtual memory . Also discuss its advantages.8. What is address binding ? Explain in the concept of dynamic relocation of
address ?.
OR
Explain the following :(a) File type
(b) File operation
(c) File attributes
9. What are semaphore ? Explain solution of producer- Consumer problem using
semaphore ?
OR
Explain three requirement that a solution to critical section problem must satisfy.10. Describe necessary condition for a deadlock situation to arise .
OR
Explain different method to recover deadlock ?11. Consider the reference stream 1,2,3,4,2,1,5,6,2,1,2,3,7,6,3,2,1,2,3,6. How many page
faults which using FCFS and LRU using 2 frames ?
OR
Write short note on(a) Process management mode of LINUX
(b) Disk scheduling Mechanism
∎ By- Md Altaf Raja (CSE)
No comments:
Post a Comment