I Sem BCA QBank
I Sem BCA QBank
MANGALORE UNIVERSITY
Choice Based Credit System (CBCS)
I Semester BCA
Question Bank
1
UNIT II
Questions carrying two marks
1. Differentiate RAM from ROM.
2. Differentiate a bit and byte.
3. What do you mean by auxiliary memory?
4. State any 2 differences between SRAM and DRAM.
5. What the advantages of secondary storage devices over the primary memory.
6. Write the advantages of magnetic tapes.
7. Write the disadvantages of magnetic tapes.
8. List the advantages of magnetic disks.
9. List out the disadvantages of magnetic disks.
10. What is an optical disk? Give example
11. Define cluster & cylinder.
12. Define seek time.
13. Define Rotational Delay.
14. Define Data Transfer Rate.
UNIT III
Questions carrying two marks
1. What is an input device? Give examples
2. What is an output device? Give examples
3. What are the importance of an input device?
4. What do you mean by QWERTY layout?
5. What is a pointing device? What are the common types of pointing devices available?
6. What is a touch screen? What are its different components?
7. What are the purposes of a light pen?
2
8. What are the purposes of a speech recognition device?
9. What are the different types of scanners?
10. What are the benefits of OCR?
11. What are the benefits of OMR over OCR?
12. What is an output?
13. Explain the different forms of output?
14. What is a hardcopy output device? Give example
15. What is a softcopy output device? Give example
16. What is an output device? Give examples
17. What are the categories of printers? Explain
18. Differentiate impact and non-impact printers.
19. What is an impact printer? Give examples.
20. What is a non-impact printer? Give examples.
21. What is a plotter? What are the different types of plotters?
22. Define Resolution.
23. Define Dot Pitch.
24. Define Refresh Rate.
25. Expand LCD, MICR.
26. What is an electronic whiteboard?
UNIT IV
Questions carrying two marks
1. State the differences between a compiler and an interpreter.
2. What is system software ? Give examples.
3. What is application software ? Give examples.
4. What you mean by Public domain software ?
5. Explain the term freeware.
6. Explain the term shareware.
7. What is commercial software ?
8. What is open - source software ?
3
9. What is proprietary software ?
10. What is Firmware ?
11. What are Image Editors ?
12. What is DBMS ?
13. What is DTP ?
14. Why is mail merge used in MS-Word?
15. List the components of Mail Merge.
16. List the various views in Powerpoint window.
17. Differentiate worksheet & a workbook.
18. List the different database objects in MS-Access
19. What is a form in MS-Access?
20. What is a query in MS-Access?
21. What is a table?
5
BCAC 132
Problem Solving Using C
UNIT – I
2 marks questions
1) Define Algorithm. List any two properties of it.
2) Define Flowchart. What is its purpose?
3) List quadrants of Decision Table
4) What is Pseudocode? List any four keywords used in it.
5) What are the different categories in which the characters in ‘C’ are grouped?
6) What are tokens? Give any two examples.
7) What are keywords? List any four keywords.
8) What are identifiers? Give example for a valid and invalid identifier name.
9) Differentiate keywords and identifiers.
10) List the rules to be followed for naming an identifier/variable?
11) What are constants? Give examples for integer constants.
12) Differentiate constants and variables.
13) Differentiate character and string constants.
14) List and specify the meaning of any four backslash character constants.
15) Provide the syntax for declaring a variable. Give an example.
16) What is initialization? Give an example.
17) Differentiate assigning a value to variable and initialization of variable
18) What do you mean by symbolic constants? How to define them?
UNIT – II
2 marks questions
1) What are operators? Specify their use.
2) List different categories of operators available in C
3) What is integer arithmetic? Give an example.
6
4) What is real arithmetic? Give an example
5) What is relational expression? Give an example
6) What is logical expression? Give an example
7) Differentiate pre/post increment and decrement operators
8) List short-hand assignment operators available in C
9) Give the syntax of conditional operator. Give an example.
10) List special operators available in C along with their meaning
11) Define arithmetic expression. Give an example.
12) Specify the precedence of arithmetic operators in C
13) What do you mean by type conversion? Mention its types.
14) List any four built-in arithmetic functions available in C
15) Write the syntax of simple if statement. Give an example.
16) Give the syntax of goto statement. Give an example
17) Differentiate entry-controlled and exit-controlled loops
18) Differentiate break and continue statements
19) Specify the value of x after evaluating following expression
x=3+4-7*8/5%10;
20) Specify the value of x after evaluating following expression
float x =1.5;
int y=3;
x=y/2+y*8/y-y+x/3
21) Specify the value of x after evaluating following expression
int y=3, z=4, x;
float t=4.2;
x=z*z/y+y/2*t+2+t;
UNIT – IV
2 marks questions
1) What is a recursive function?
2) List different storage classes used by C
3) Differentiate structure and union
4) Differentiate automatic and static storage classes
5) Give the general format used for declaring a structure
6) Give the general format used for declaring a union
7) Specify the use of typedef statement. Give an example.
8) What is pointer? Specify its use.
9) List different file open modes
10) List any four file input/out functions
11) What is pre-processor directive? Specify its use.
8
12) What is macro substitution? Specify different forms of macro substitution
13) What is File Inclusion? Give example.
3 or more marks questions
1) Explain with example recursive functions in C (4)
2) Write a note on storage classes in C (6)
3) Explain the features of automatic and static storage classes (5)
4) Explain the features of register and external storage classes (5)
5) Explain with example defining a structure, declaring structure variable and accessing structure
members (5).
6) Explain with the help of code example array of structures (5)
7) Explain with code example array within structure (5)
8) Write a note on nesting of structures (5)
9) Explain with example declaring and initializing a pointer variable. (5)
10) Explain with example how to accessing a variable through its pointer(5)
11) Explain how pointers are used to access array elements? (5)
12) Explain how pointers are used to access string? (5)
13) List and explain any five file input/output functions (5)
14) Explain fprintf and fscanf functions with its syntax and examples
15) Expalin a) fopen() b) getw() c) fputs() d) feof() e) fprintf()
16) Explain error handling functions during I/O Operations on a file. (4)
17) Explain the following: (6)
a. Macro Substitution b. File Inclusion
18) Explain different forms of Macro Substitution. (6)
19) Write a note on different forms of macro substitution (6)
9
BCAC133
Computer Organization
UNIT-I
2 Marks Questions
1. Convert (153.513)8 to Binary
2. (BCA)16=()2=()10
3. Obtain the 1’s and 2’s Complements of the following binary numbers
a. 1010101
b. 000001
4. Obtain the 9’s and 10’s Complements of the following decimal numbers
a. 678
b. 896
5. Obtain the 9’s and 10’s Complements of the following decimal numbers
a. 341.23
b. 0.234
6. Obtain the 1’s and 2’s Complements of the following binary numbers
a. 1110.101
b. 101.001
7. Obtain the 9’s and 10’s Complements of the following decimal numbers
a. 1234
b. 7890
8. Convert (76.20)8 to binary and decimal.
9. Convert (11011011)2 to octal and Hexa decimal.
10. Convert (345)10 to octal and Hexa decimal.
11. Write Excess-3 and binary equivalent of (45)10
12. Write BCD and binary equivalent of (45)10
13. Write BCD and 2421 code of (345)10
14. Write BCD and 84-2-1 code of (98)10
15. Write BCD and binary equivalent of (98)10
16. Write 2421 and 84-2-1 code of (78)10
17. State any two postulates of Boolean algebra.
18. State DeMorgan’s theorems.
19. Define truth table and logic gate.
20. What is BCD code? Give an example.
21. Prove that X+X=X
22. Prove that X.X=X
23. What is Excess-3 code? Give an example.
24. What is 2421 code? Give an example.
25. Obtain the 9’s and 10’s Complements of the following decimal numbers
a. 9870
b. 0078
26. Perform (100101.11)2 + (11011.101)2
27. Perform (1011101.11)2 - (11011.101)2
28. Perform (1000011)2 + (1101101)2
29. Perform (101110111)2 - (11011101)2
UNIT-II
2 marks questions
1. Write truth table and logic expression of NOR gate
2. Prove that ABC+A’B+ABC’=B
3. Draw the logic circuit for F(X,Y,Z)=X’Y+X’Z
11
4. How to write the complement of a Boolean function? Also write the complement of
F(X,Y,Z)=X’YZ’+X’Y’Z
5. What are minterms and maxterms?
6. Write the complement of F(W,X,Y,Z)=X’YZ’+X’Y’Z+W’XY
7. What do you mean by duality of Boolean algebra? Give an example.
8. Draw the symbol of NAND gate and write the truth table for NOR gate
9. Prove (A+B)(A+C)=A+BC
10. Define sum of Product term and product of sum term with example to each.
11. Write the truth table and logic diagram of XNOR gate
12. Prove x + x’ y = x + y
13. Write the truth table and logic diagram of XOR gate
14. What is the difference between Canonical and standard form?
15. What is meant by principle of duality? Write the dual of the given expression F=(X+Y)
(X+Y’) (X+Y+Z)
16. Write the truth table of OR gate and draw the logical diagram
17. Write the truth table and logic diagram of OR gate
18. What are Universal Gates?
19. Draw the logic circuit for F (X, Y, Z) =XY+X’Z’ using basic gate.
20. Draw the logic circuit for F (X, Y, Z) =(X+Y)’ using basic gate.
21. Define Sum term and Product term.
22. Write the general structure of 2 variables K-Map.
23. Write the general structure of 3 variables K-Map
24. Write the general structure of 4 variables K-Map
25. Define Pair,QUAD,OCTET in K-Map
26. Write the truth table of NOT gate and Buffer.
27. Write the truth table of AND gate and draw the logical diagram.
28. Write the truth table and logic expression of NAND gate
29. Write the dual of the given expression F=(X+Y) (X+Y’+Z)
30. Write the truth table and logic expression of XOR gate
31. Write the truth table and logic expression of XNOR gate
32. What are Don’t care conditions? How do you represent them in the K-map?
33. What is meant by Non-standard form? Give an example.
34. What is meant by Standard form? Give a example
35. What is meant by Canonical form? Give a example
36. Express the Boolean function F=XY’+X’Z as sum of minterms and product of maxterms.
37. Express the Boolean function F=WXY’+X’Y’Z as sum of minterms and product of maxterms.
38. Using theorems and Postulates simplify
F (A, B, C, D) =A’B(D’+C’D) +B(A+A’CD)
39. Convert the Boolean function, F (x, y, z) = ∑ (0,1,4,5) into another canonical form.
40. Using Boolean Theorems and postulates, prove the following:
a. x + x’y=x + y
b. x’y’z + x’yz + xy’=x’z + xy’
41. Implement Boolean function F=x’y’z + x’yz + yz’ with basic gate and also write the truth
table.
42. How do you get complement of a function? Find the complement of
F1=x’yz’ + x’y’z
F2=x(y’z’ + yz)
43. Simplify the expression A B’+A’B’(A+C)
12
44. Express the Boolean function, F(X,Y,Z)=XY+X’Z as sum of minterms and product of
maxterms.
45. Write the truth table and the logical diagram of NOT, OR, AND and XOR gates.
46. Implement the following Boolean function using gates and also write the truth table.
a. F= xyz’
b. F= xy’+ x’z
47. What are minterms and maxterms? Explain with example.
48. What are NAND and NOR gates? Explain their functionality with logic diagram and truth table.
49. Prove that NAND is universal gate.
50. Prove that NOR is universal gate.
51. Express the Boolean function F(A,B,C)=A+B’C as sum of minterms and product of maxterms
52. Implement the Boolean function F(A,B,C)=A+B’C using only NAND gate.
53. Implement the Boolean function F(A,B,C)=A+B’C using only NOR gate.
54. Using K-Map simplify the following expression
F(A,B,C,D)= ∑(0,1,2,4,5,6,8,9,12,13,14)
55. Obtain the simplified expression in product of sums using Karnaugh map. F(x,y,z)=π(0,1,4,5)
56. Using K-Map simplify the following expression
F(A,B,C,D)= ∑(0,1,4,8,9,10)
57. Minimize F (A, B, C, D) =∑ (0,3,4,7,8) + ∑d (10,11,12,13,14,15) and draw the logic diagram
for minimized expression.
58. Using K-Map simplify the following expression
F(a,b,c)= ∑(0,2,4,5,6)
59. Obtain the simplified expression in product of sums using Karnaugh map.
F(w,x,y,z)=π(0,1,4,5,7,10,14,15)
60. Using K-Map simplify the following expression
F(w,x,y,z)= ∑(4,5,6,8,9,12,13,14)
61. Write a note on K-Map. Using K-Map simplify the following expression F(w,x,y,z)=
∑(1,2,4,5,6,8,9,12,13,14,15)
62. Minimize F(A,B,C,D)=∑(0,2,,4,6,8,10,12,14) and draw the logic diagram for minimized
expression.
63. Implement the Boolean function F= (A+B)(C+D)E using only NOR gates.
64. Implement the Boolean function F= x’y’z’ + xyz’ using only NAND gates.
65. Implement the Boolean function F(A,B,C,D)= D(A+B)+CD’ using only NAND gates.
66. Using K-Map Minimize F(A,B,C)=AB’+BC’
67. Using K-Map Minimize F(A,B,C,D)=ABC’+BC’+BCD
68. Using K-Map simplify the following expression
F(w,x,y,z)= ∑(8,9,10,11,12,13,14)
UNIT-III
2 Marks Questions
1. What is Combination logical Circuit? Draw the block diagram.
2. What is Half adder? Write its truth table.
3. What is Full Adder? Write its truth table.
4. What is Half Subtractor? Write its truth table.
5. What is Full Subtractor? Write its truth table.
6. What is magnitude comparator?
7. What is Decoder? Write the truth table of 2*4 Decoder.
8. What is Encoder? Write the truth table of octal to binary Encoder.
9. What is Multiplexer? Write the truth table of 2*1 Multiplexer.
10. What is De-Multiplexer?
11. Write the logic expression for Half Adder.
12. Write the logic expression for Half Subtractor.
13
13. Write the truth table of 2*4 decoder.
14. Write the logic expression for Full Adder.
15. Write the logic expression for Full Subtractor.
16. What is BCD adder?
17. What is MUX? Why is it called data selector?
18. What is Adder?
19. What is Subtractor?
UNIT-IV
2 Marks Questions
1. What is Flip flop? List any two Flip Flops.
2. Define excitation table. Write the excitation tables of T flip flop.
3. Write the excitation table of RS Flip Flop.
4. Write the excitation table of D Flip Flop.
5. Write the excitation table of JK Flip Flop.
6. Draw the block diagram of a sequential circuit.
7. What is register? Draw a 4 bit register using D flip flop.
8. Show the basic diagram of a clocked D flip flop with NAND gate.
9. What is a counter? How many flip-flops are required to design MOD 12 counter?
10. Define a register and a counter.
11. Write the limitation of SR flip flop.
12. What are characteristic table? Write the characteristic table of SR flip flop.
13. Draw the circuit diagram of SR latch using NOR gate.
14. What is a counter? How many flip-flops are required to design 3-bit counter?
15. Define excitation table and characteristic table.
16. What is Triggering of flip flop?
17. Draw the diagram of RS flip flop using NAND gate.
18. Write the Characteristics table of SR flipflop.
19. What are flip flops? Mention the characteristics of flip flops.
20. Show the basic diagram of a clocked D-FF with NAND gates.
21. Define excitation table and state diagram.
22. Draw the diagram of RS flip flop using NOR gate.
23. What is Master-Slave flip flop?
24. What is the difference between level and edge triggering?
14
4, 5 and 6 Marks Questions
1. What is shift register? Explain with a neat diagram.
2. Explain the working of register with parallel load with a neat diagram.
3. Explain the working of clocked SR flip flop.
4. Design 4-bit Binary ripple counter.
5. Explain the working of Bi-directional shift register.
6. Explain the working of D flip flop using NAND gate.
7. Explain the working of a clocked RS flip flop with the help of necessary diagrams.
8. What are shift registers? Explain the 4-bit shift register with the block diagram.
9. Design a 3-bit Synchronous counter using JK flip flop.
10. Explain the working of RS flip flop with a diagram.
11. Explain the working of T flip flop. Write the Characteristics table and logical expression.
12. Explain the working of JK flip flop. Write the Characteristics and logical expression.
13. Explain state table, state diagram and state equation using example.
14. Design MOD 6 synchronous counter using JK flip flop.
15. Explain the working of Master-Slave flip flop with its block diagram.
16. Design MOD 10 synchronous counter using T flip flop.
15
BCACE 136 E1
Internet Basics & HTML
I. Two Mark Questions.
UNIT-I
1. What is internet?
2. Expand ARANET and WAIS.
3. Define web Page and WWW.
4. What is browser? Mention its two types.
5. Define URL. Write the structure of it.
6. Expand HTML and ISP.
7. What is web server?
8. Define upload and download.
9. Define online and offline.
10. Define MODEM.
11. What is digital signature? [1]
12. Define M-Commerce.
13. Name any four Newsgroups
14. Expand ASP, PHP.
15. List any four search engines.
UNIT-2
16. What are HTML tags?
17. Explain the two types of HTML tags (Singular and Paired).
18. What are Attributes? Give an example.
19. Difference between <BR> and <P> tag.
20. Explain any two attributes of <HR> tag.
21. Write the usage of <DIV> tag with style attribute.
22. Write the usage of <SPAN> tag with style attribute.
23. Write the necessary tag to display the following text:
a) Programming in Web.Net is Not Fun
b) Prove that x2 + y2 = z2
c) Chemical formula for water is H2O.
26. What are Lists? Name the different types of Lists.
27. What are the advantages of using Style Sheets?
28. Differentiate between Inline and embedded styles
17
BCACE 137 E2
Cloud Computing
Unit 1
2 Marks Questions
1. Define Cloud Computing.
2. What is grid computing?
3. Name the three classes of cloud computing.
4. Define Elasticity. What is Hardware Virtualization?
5. List the Enterprise Cloud Consumption strategies?
6. Which are the five categories of Transition challenges?
7. What is Cold Migration?
8. What is Convenience - Driven Strategy?
9. List the different techniques of VM migration.
10. State the objective of Load Balancing.
Unit 2
2 Marks Questions
1. List any two web-application based security attacks.
2. List the five phases involved with the SLA management in Cloud.
3. What is the role of Admission control algorithms?
4. What is Amazon Simple Queue Service?
5. Mention the types of SLA.
6. State the differences between HPC classical environments and HPC in clouds.
7. What are the benefits of Virtualization?
8. State the goal of Grid Technology.
9. What is Amazon EC2?
10. List any two technical benefits of cloud computing.
_______
19