Explain addition theorem in probability.
See Answer →A and B are mutually exclusive events such that P(A) = 1/4 and P(B) = 2/5 and P(AU B) = 1/2. What is the probability of P(A Ո B)
See Answer →How many different professionals committees of 10 people can be formed, each containing at least 2 Professors, at least 3 Managers and 3 ICT Experts from list of 10 Professors, 6 Managers and 8 ICT Experts?
See Answer →Explain principal of duality with the helpof example.
See Answer →Prove that 2n > n3, ∀n ≥ 10
See Answer →How many words can be formed using letter of PEPSUDENT using each letter at most once?
i) If each letter must be used,
ii) If some or all the letters may be omitted
See Answer →What is a tautology? If P and Q are statements, show whether the statement
(P → Q) ∨ ( → P) is a tautologyor not.
See Answer →Make logic circuit for the following Boolean expressions:
i) (x'y'z') + (x'yz)' + (xz'y)
ii) ( x'yz') (xyz') (x'y'z)
See Answer →Explain inclusion-exclusion principle with example.
See Answer →Show whether √5 is rational or irrational
See Answer →Write down suitable mathematical statement that can be represented by the following symbolic properties.
i) ( ∃ x) ( ∃ y) ( ∀ z)P
ii) ∀ (z) ( ∃ y) ( ∃ z)Q
See Answer →Draw a Venn diagram to represent followings:
i) (A ⋂ B ⋂ C) (A ⋂ B ⋂ C)
ii) (A ⋂ B ⋂ C) (B ⋂ C)
See Answer →Draw a Venn diagram to represent followings:
i) (A ⋂ B ⋂ C) (A ⋂ B ⋂ C)
ii) (A ⋂ B ⋂ C) (B ⋂ C)
See Answer →Give geometric representation for followings:
i) {5, 5) x ( -2, -2)
ii) {1, 5) x ( -2, -3)
See Answer →Make truth table for followings.
i) p→(~ ˅ ˅q) ˅ (~p ˅ r)
ii) p→ (~r ˅~ q) (p ˅~ r)
See Answer →State and explain De Morgan’s law for Boolean algebra
See Answer →(a) Write a program using 8086 assembly Language (with proper comments) that accepts four different digits input from the keyboard. Each digit is first converted to binary equivalent and then smallest of these digits is put in AL register. This AL register is to be added in each value of a byte array of size 9, which is stored in the memory. You may assume the byte array has the value 01h, 03h 02h, 03h, 00h, 01h, 02h, 01h, 04h. Make suitable assumptions, if any.
(b) Write a NEAR subroutine using 8086 assembly Language (with proper comments) that returns the largest value in a byte array of length 4-bytes. All the four values of the byte array are passed to the subroutine in a stack. You should write both the calling program and subroutine.
(c) Explain the following in the context of 8086 Microprocessor :
(i) Use of segment registers with the help of example (ii) Interrupt handling in 8086 micro-processor
(iii)Any four bit manipulation instructions in 8086 micro-processor
See Answer →A single core uniprocessor system has 16 general purpose registers. The machine has 1MB RAM. The size of every general-purpose register and memory word is 32 bits. The computer uses fixed length instructions of size 32 bits each. An instruction of the machine can have two operands. One of these operands is a direct memory operand and other is a register operand. Both these operands use direct addressing. An instruction of a machine consists of bits for operation code, bits for memory operand and bits of register operand. The machine has about 64 different operation codes. The special purpose registers, which are other than general purpose registers, are - Program Counter (PC), Memory Address Register (MAR), Data Register (DR) and Flag registers (FR). The first register of the general-purpose registers can be used as Accumulator Register. The size of Integer operands on the machine may be assumed to be equal to the size of accumulator register. In order to execute instructions, the machine has another special register called Instruction Register (IR) of size 32 bits, as each instruction is of this size. Perform the following tasks for the machine. (Make and state suitable assumptions, if any.)
(i) Design suitable instruction formats for the machine. Specify the size of different fields that are needed in the instruction format. Also indicate how many bits of the instructions are unused for this machine. Explain your design of instruction format. Also indicate the size of each register.
(ii) Demonstrate two valid instructions of the machine; put some valid data values in registers and memory locations and show the execution of these two instructions.
(iii)Assuming that the instructions are first fetched to Instruction Register (IR), memory operand is brought to DR register and result of an operation is stored in the Accumulator register; write and explain the sequence of micro-operations that are required to fetch and execute an instruction, which performs addition of a memory operand and a register operand. The result is stored in the accumulator register. Make and state suitable assumptions, if any.
(b) Assume that you have a machine, as shown in section 3.2.2 of Block 3 having the micro-operations given in Figure 10 on page 62 of Block 3. Consider that R1 and R2 both are 8 bit registers and contains 10100101 and 11000110 respectively. What will be the values of select inputs, carry-in input and result of operation (including carry out bit) if the following micro-operations are performed? (For each micro-operation you may assume the initial value of R1 and R2 as given above)
(i) Increment R1
(ii) Subtract R2 from R1
(iii)Exclusive OR of R1 and R2
(iv) Shift left R1
(c) Consider that an instruction pipeline has five stages namely instruction fetch (F), Instruction Decode (D), Operand Fetch (O), Instruction Execute (E) and store results (S). Draw an instruction pipeline diagram showing execution of five sequential instructions using this pipeline. What are the problems of this instruction pipelining?
(d) Explain the functioning of micro-programmed control unit with the help of a diagram. Is Wilkes control Unit uses microprogramming? Explain.
(e) Explain the use of large register file in RISC? Also, explain the optimisation of RISC pipelining.
See Answer →Refer to the Figure 2(b) on page 8 in Unit 1 of Block 2. Draw the Internal organisation of a 16×4 RAM. Explain all the Input and Output of this organisation. Also answer the following:
(i) How many data input and data output lines does this RAM needs? Explain your answer.
(ii)How many address lines are needed for this RAM? Give reason in support of your answer.
(b) A computer has 1 MB RAM with each memory word of 8 bits. It has cache memory having 256 blocks having a size of 64 bits (8 memory words). Show how the main memory address (03FAC)h will be mapped to cache address, if
(i) Direct cache mapping is used (ii) Associative cache mapping is used
(iii)Two way set associative cache mapping is used. You should show the size of tag, index, main memory block address and offset in your answer.
(c) Explain the process of interrupt handling with the help of a diagram.
(d) What is DMA? Explain with the help of a flowchart. Differentiate between the working of DMA and I/O processor.
(e) Assume that a disk has 256 tracks, with each track having 64 sectors and each sector is of size 1 M bits. The cluster size in this system can be assumed to be as 4 sectors. A file having the name bcaassignment.txt is of size 32 MB. Assume that disk has 64 free - continuous clusters. How can this file be allotted space on the disk? Also show the content of FAT after the space allocation to this file. You may make suitable assumptions.
(f) Explain the following, giving their uses and advantages/disadvantages, if needed. (Word limit for answer of each part is 100 words ONLY)
(i) Programmed Input/Output
(ii) Access time computation on Hard disk
(iii) CD-ROM
(iv) Resolution of a scanner
(v) Printer Technology
(vi) Capacitor-based Keyboards
See Answer →