0% found this document useful (0 votes)
35 views

Assignment Topics New 1727964687

Uploaded by

cs8409611
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)
35 views

Assignment Topics New 1727964687

Uploaded by

cs8409611
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/ 4

Assignment Topics

5 Mark Questions
1. Given the Boolean function F (A, B, C, D) =Σ (0,2,6,7,8,9,10,11,13), Reduce it using a K-map.

2. Given the Boolean function F (A, B, C, D) =Σ (0,1,2,3,5,8,9,10,11,13), Reduce it using K-map.

3. Given the Boolean function F (A, B, C, D) =Σ (0,1,3,4,5,7,12,13,15), Reduce it using K-map

4. Characteristics of OOP

5. Advantage of OOP

6. Disadvantage of OOP

7. Application of OOP

8. Class Definition with example

9. Member function Defines inside the class with an example

10. Member Function Defines Outside the class with example

11. Friend Function with example

12. Inline function with example

13. Function Overloading with example

14. Constructor with example

15. Rules of Constructor

16. Destructor with example


1. How many bits of data USB can transmit ?

(a) 127 bits (b) 12 megabits (c) 16 megabits (d) 128 bits

2. Dual of the expression X + 0 = X is

(a) 𝑋 · 1 = 𝑋 (b) 𝑋 · 0 = 𝑋 (c) X + 1 = X (d) X + 1 = 1

3. Given the logic diagram the output is

(a) 0 (b) 1, 0 (c) 1 (d) 0, 0

4. In one dimensional array if LB = 0 and UB = 10 then array size is

(a) 9 (b) -1 (c) 12 (d) 11

5. Identify the reason for the error in the following program segment

class temp

private : int x;

};

void main( )

temp t;

cout<<”enter the value of X”;

cin>> t.x;

(a) A non member function trying to access protected data member

(b) Member function trying to access private data member


(c) A non member function trying to access public data member

(d) The main function trying to access private data member

6. Assertion (A) : Very efficient code can be generated using inline function.

Reason (R) : Inline function has complex data structure.

(a) Both A and R are false (b) A is true and R is false

(c) A is false and R is true (d) Both A and R are true

7. The symbol used with destructor

(a) . (b) :: (c) ~ (d) *

21. Prove involution law

22. Realize AND using NOR gate.

23. Mention any two features of parameterized constructor.

28. Write a note on Cache memory

29. What is primitive data structure? Explain any two operations on primitive data structure.

30. Define array of pointer. Give suitable example.

35. Write an algorithm for enqueue operation.

36. Explain the operations on stack.

37. Mention any three advantages and two disadvantages of OOP.

38. What is function overloading? Explain the need for function overloading.

39. Write the rules for constructor.

43. Define a class time with following members and conditions

i. Data members : hour, minute, seconds

ii. Member functions: getdata() and output()

iii. Define member functions inside the class to input and output hour, minute

and seconds.

You might also like