Foc QP 4
Foc QP 4
SCHEME OF VALUATION
i) Answer one full question from each section
ii) One full question carries 20marks
SECTION -I
1. a. Listing any 3 features of number system - (3*1=3m), List any 2 number system with an example (2*1=2m)
b. Statement of any one demorgan’s law -1m, proof using truth table- 4m
c. Finding 2’s complement of minuend - (2m) + perform addition –(2m) + result- (1m)
d. Definition of an Universal Gate -1m, diagram -3m explanation -1m
2. a. Meaning of Logic Gate -2m, 3 Logic gates and their symbol- (3*1=3m)
b. Because of the more length of solution, consider Any two solutions (2.5*2=5m)
c. Finding Excess 3 code- 3m, BCD code-2m(exclude ASCII)
d. Truth table-5m. ( based on columns and their correctness marks may be allotted)
SECTION -II
3. a. Solving the Expression - 5m
b.Definition/understanding of Flipflop-1m, Listing types of flipflops-2m, Any 2 applications-2m
c. Any five difference between Combinational and Differential circuits- (5*1=5m)
d. Diagram of 4:2 encoder- 2m, Truth table -3m
4. a.i) finding 1’s complement- 2m ii) finding 2’s complement – 3m
b. Definition/Understanding of Shift register -1m. Listing types-2m, Any 2 applications-2m
c. Comparator circuit diagram -3m, Truth table-2m
d. Drawing a clock signal-1m, Indicating or explaining each term – (4*1=4m)
SECTION -III
5. a. Drawing Full adder circuit – 3m, Write Sum AND Carry expression-2m
b. Solving problem -5m
c. 4 applications – (4*1=4m)
d. Diagram -3m, working Explanation -3m
6.a. Drawing Full Subtractor circuit – 3m, Difference and Borrow expression-2m
b. i-1m ii-1m iii-1m iV-2m (1+1+1+2=5m)
c. Each generation 2 features- (4*1=4m)
d. Any 3 comparisons/ differences –(3*2=6m)
SECTION -IV
7.a. Identifying and listing any 3 security threats during browsing – (3*2=6m), any 2 counter measures -2m
b. Drawing functional units -3m, explanation- 3m
c. Listing or drawing Flynn’s classification – 2m, 1Feature of each class – (4*1=4m)
Model Answer
(or)
ii) Demorgan’s Second law: (1m)
Proof using Truth Table: (4m)
d) NAND is called as Universal gate, because we can obtain all the basic gates like OR, AND etc using multiple
NAND gates. (1m)
OR gate using NAND gates (3m)
Explanation:(1m)
Using 3 NAND gates we can Obtain OR gate, when connected as above diagram. Inputs to 2 NAND ‘s are to
be shorted and their output are to be input to third NAND gate to get OR output
iii) First,
convert 123.778 into decimal, by using above steps:
= 1 × 82 +2 ×81 +3 × 80 +7 × 8-1 + 7 × 8-2
= 83.98437510
Now, we have to convert 83.98437510 to binary
83 / 2 = 41 with remainder 1
41 / 2 = 20 with remainder 1
20 / 2 = 10 with remainder 0
10 / 2 = 5 with remainder 0
5 / 2 = 2 with remainder 1
2 / 2 = 1 with remainder 0
1 / 2 = 0 with remainder 1
83 = 1010011 ------- (1)
0.984375 × 2 = 1 + 0.96875
0.96875 × 2 = 1 + 0.9375
0.9375 × 2 = 1 + 0.875
0.875 × 2 = 1 + 0.75
0.75 × 2 = 1 + 0.5
0.5 × 2 = 1 + 0
0.984375 = 0.111111------- (2)
Result: 1010011.111111(2)
c) Given: 149(10)
Result: 010001111100
ii) BCD code: (2m)
1 4 9
Result:000101001001
d) To Verify LHS is equal to RHS for the equation, the truth table is as below: (award marks based on the
correctness of colums and values)
SECTION II
b) A flip flop is an electronic circuit used to store binary data. The stored data can be changed by
applying varying inputs. (1m)
Types of flip flops: (2m)
i. RS Flip Flop
ii. JK Flip Flop
iii. D Flip Flop
iv. T Flip Flop
(OR)
b) SHIFT REGISTER: A group of flip flops which is used to store multiple bits of data and the data is moved from
one flip flop to another is known as Shift Register. (1m)
5. a) Diagram: (3m)
Sum, X= (A ⊕ B) ⊕Cin(1m)
Carry, Y= A.B + Cin.(A ⊕ B) (1m)
d) A keyboard has own processor and circuitry that carries information to and from that processor. A large
part of this circuitry makes up the key matrix.A keyboard contains many push-buttons called "keys". When
one of these are pushed, an electrical circuit is closed, and the keyboard sends a signal to the computer that
tells it what letter, number or symbol it would like to be shown on the screen. (2m)
6. a) Diagram – (3m)
Difference, D = (A ⊕ B) ⊕ Bin (1m)
Borrow, Bo= A’B+ A’.Bin+B.Bin (1m)
Generation of Features
computers
1st Generation Vacuum tube technology, Supported machine language only,
(1946-1959) Very costly, Generated a lot of heat, Huge size, Non-portable,
Consumed a lot of electricity
2nd Generation Use of transistors, Supported machine and assembly languages,
(1959-1965) Reliable and Smaller size as compared to first generation
computers, produced less heat as compared to first generation
3rd Generation IC used, Supported high-level language, More reliable and faster
(1965-1971) in comparison to previous two generations
4th Generation VLSI technology used, Pipeline processing, Very cheap, Portable
(1971-1980) and reliable, Very small size
5th Generation ULSI technology, Development of true artificial intelligence &
(1980 onwards) Natural language processing, Advancement in Superconductor
technology, powerful computers at cheaper rates
d) Any three differences (3*2=6)
SECTION IV
Explanation:(3m)
Various Functional units of computer are:
i.Input Unit: Data or Instructions to a computer is input using any Input device. Commonly used input
devices are Keyboard, Mouse, Joystick, scanner etc.
ii.Central Processing Unit(CPU): CPU- also known as brain of computer, is constituted of Arithmetic and
Logic Unit(ALU) and Control Unit(CU).
ALU is responsible for performing all the Arithmetic like addition, subtraction etc and Logical
operations like AND, OR etc. The intermediate results are stored on temporary storage called the
Registers.
CU controls and coordinates all the processes being executed on the computer. It generates the
timing signal responsible to which all the processes are synchronized.
iii.Memory Unit: Memory unit store the programs and the data on which the instructions of programs
operate. Instructions are fetch from memory, executed on CPU and result is stored back to memory.
iv.Output Unit: This unit renders the output to the users. Commonly used output devices are Monitor,
Printer, Speaker etc.
-Local Area Network (LAN) have to be setup separately for each department.
b) Diagram (3m)
BIOS UEFI
BIOS refers to Basic Input/Output system UEFI refers to Unified Extensible Firmware
Interface
It works on 16bit mode Supports 32bit and 64bit mode
Uses MBR (Master boot record) to save Uses GPT (GUID Partition Table) ) to save
information about hard drive information about hard drive
BIOS doesn’t support GUI UEFI supports GUI
Hard disk drive is limited to maximum size of Hard disk Drive may of size larger than 2TB
2TB
Require more boot time than UEFI Booting takes less time than in BIOS
SECTION V
Mobile OS Computer OS
Mobile OS helps and supports to run application Computer OS allows user to run their
software on mobile devices applications on Computer
Mobile OS is simple and lightweight compared Computer OS is complex and heavy weight
to Computer OS (small in size) compared to Mobile OS (large in size)
Supports less number of functionalities/ services Supports large number of functionalities/
services
Boot time is lesser than Computer OS Boot time is more than Mobile OS
Applications are designed to consume less No such restrictions imposed on the applications
memory and space
Ex: Android, Bada, Blackberry OS, iOS etc Ex: Windows 10, Mac, Redhatetc
I. Variable name must begin with a letter, dollar sign ($) or an underscore (_):
II. You cannot use reserve words to name variables
III. variable are case sensitive:
IV. Special symbols except underscore are not allowed in variable name
V. Multiple consecutive underscores are not allowed
VI. Variable name should be meaningful, such that it describes the value
VII. Space is not allowed within a variable
c) (4m)
Read N
d) ALGORITHM :(7m)
STEP 1: Start
STEP 2: Insert ATM card and enter PIN
STEP 3: IF login is successful THEN
IF Operation is ACCOUNT BALANCE THEN
display Account BALANCE
ELIF Operation is PRINT STATEMENT THEN
print Mini statement
ELIF Operation is WITHDRAW CASH THEN
ask user to enter amount
WITHDRAW amount
ELSE
Print 'Unsuccessful login'
STEP 5: Stop
(ANY OTHER SUITABLE ASSUMPTIONS AND DEEMED TO BE CORRECT MAY BE AWARDED MARKS)
Multiprocessing Multiprocessing
It is a mechanism provided using multiple This mechanism doesn’t need multiple
processors processors
Multiple processes are run on multiple Multiple programs are kept in main memory at a
processors time.
Does not ensure the better CPU utilization as Ensures better CPU utilization, as processor
multiple processors may sit idle. runs another program when ongoing process is
halted
Uses concept of Parallel processing Uses concept of Context-switching
Not cost effective Cost effective
Ex: In a quad-core processor 4 processes may Ex: More than one program residing in RAM
run paralelly.
c) ALGORITHM :(4m)
STEP 1: START
STEP 2: Read an integer value from user, say N
STEP 3: IF N%2== 0 THEN
Print "N is an Even number"
ELSE
Print "N is an Odd Number"
ENDIF
STEP 4: END
d) Flowchart: (7m)
(Any Other Suitable Assumptions and found To Be Correct May Be Awarded Marks Accordingly)
Certificate
This is to certify that all the answers pertaining to the subject Fundamentals of Computers (20CS11T)
are borrowed from the prescribed text book specified in the syllabus copy.
AKKASALI NEELAKANTACHARI
Lecturer in CSE. DRR Govt. Polytechnic,
Davanagere.
Board Members:
Sd/-