0% found this document useful (0 votes)
54 views10 pages

PU2 ModelPaper - 2023

This document contains a model question paper for Computer Science PU 2 with multiple choice questions, fill in the blank questions, and long answer questions covering various topics in computer science. The question paper is divided into four parts - Part A contains 20 multiple choice questions worth 1 mark each, Part B contains 4 questions worth 2 marks each, Part C contains 4 questions worth 3 marks each, and Part D contains 6 questions worth 5 marks each. The questions cover topics such as computer hardware, data structures, object-oriented programming, databases, operating systems, computer networks, and more.

Uploaded by

Amit King
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)
54 views10 pages

PU2 ModelPaper - 2023

This document contains a model question paper for Computer Science PU 2 with multiple choice questions, fill in the blank questions, and long answer questions covering various topics in computer science. The question paper is divided into four parts - Part A contains 20 multiple choice questions worth 1 mark each, Part B contains 4 questions worth 2 marks each, Part C contains 4 questions worth 3 marks each, and Part D contains 6 questions worth 5 marks each. The questions cover topics such as computer hardware, data structures, object-oriented programming, databases, operating systems, computer networks, and more.

Uploaded by

Amit King
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/ 10

SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

COMPUTER SCIENCE
PU 2 - MODEL PAPER – [ 01 ]

PART - A

Answer all the questions. Each questions carries one mark 20 x 01 = 20

I. Select the correct answers from the choices given: (Repeated answers will not be considered)

1. Motherboards geometry, dimension and arrangement are


[A] Chipset [B] Form factor [C] Processor Socket [D] RAM
2. If results of any logical statements or an expression is always true or 1, then it is called as ____________.
[A] Unary [B] Binary [C] Tautology [D] Fallacy
3. Standard Symbol of NOR-Gate is
[A] [B]

[C] [D]

4. Which of the following is a operation on nonlinear data Structure?


[A] Traversal [B] Create [C] Add [D] None
5. Which of the following is an access specifier of a class.
[A] int [B] array [C] public [D] float
6. A non-member function which has an access to private and protected data members.
[A] Inline Function [B] Constructor [C] Destructor [D] Friend Function
7. A Constructor is a ________________.
[A] Non-member function. [B] Special Member Function.
[C] Inline Function. [D] Shortest Member Function.
8. _____________ can be controlled to access multiple copies of members in derived class.
[A] Abstract Class. [B] Virtual Base Class. [C] Interface. [D] Structure.
9. Which of the following is a value operator
[A] = [B] * [C] & [D] +
10. ____________ is a collection of logical related data organized in terms of rows and columns.
[A] Table [B] Row [C] Column [D] Cell
11. Which of the following is a TCL (Transaction control Language) command.
[A] Create [B] Delete [C] Grant [D] Commit
12. A Device that connects dissimilar network is _____________.
[A] Router [B] Bridge [C] Gateway [D] Hub
13. SMTP stands for.
[A] Simple Mail Transaction Protocol. [B] Simple Mail Transfer Protocol.
[C] Simple Mail Transmission Protocol. [D] Server Mail Transfer Protocol.
14. OSI stands for.
[A] Open Source Index. [B] Open Source Image.
[C] Open Source Initiative. [D] Open Source Instance.
15. Tag that is used to create a row in a table.
[A] <table> [B] <td> [C] <tr> [D] <th>

Ballari | Challakere | Hosapete | Ilkal


SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

II. Fill in the blanks choose the appropriate word / words from those given in brackets (Repeated will not be
considered)

(Top-Down, Ordinality, DBMS, Data Integrity, Data Duplicacy)

16. ____________ Software is used to store data in such a way that it becomes easy to retrieve.
17. Data redundancy means _______________.
18. ____________ means that the data is accurate and consistent in the database.
19. Specialization is ____________ approach.
20. ____________ Specifiers the minimum number of relationships.

PART - B

Answer any four questions. Each questions carries two marks 04 x 02 = 08

21. Prove that 1 + X = 1.


22. State and Prove Involution Law.
23. Write any two applications of Object – Oriented Programming.
24. Write any two features of default constructors.
25. Write member functions belong to fstream class.
26. Mention the types of database architecture.
27. Give the difference between varchar and memo datatype in SQL.
28. Name the different types of cables used in network.

PART - C

Answer any four questions. Each questions carries three marks 04 x 03 = 12

29. Explain the types of motherboard.


30. Write the logical diagram and truth table for AND gate.
31. What are the applications of Stacks?
32. What is pointer as arrays? Give example.
33. Explain any three input functions on files.
34. Explain the different levels of Data Abstraction.
35. Define FSF, OSS & Free Software.
36. Give the features of HTML.

PART - D

Answer any six questions. Each questions carries five marks 06 x 05 = 30

37. Given below function F(W,X,Y,Z) = ∑(0,1,3,4,5,7,9,10,11,13,15).


38. What is linear data structure? Explain the different operations performed on linear data structure.
39. Write an algorithm to delete an element from an array.
40. Explain any five characteristics of OOPs.
41. Explain how we define member functions outside the class definition. Give example.
42. Explain inline function with syntax and example.
43. What is parameterized constructor? Explain with syntax and programming example.
44. Explain the levels of inheritance with diagram.
45. Explain the difference between manual and electronic data processing cycle.
46. Explain any 2 commands of DML in SQL with Syntax and example.
47. Explain a] Router b] Bridge c] SIM d] Switch e] Hub.

Ballari | Challakere | Hosapete | Ilkal


SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

COMPUTER SCIENCE
PU 2 - MODEL PAPER – [ 02 ]

PART - A

Answer all the questions. Each questions carries one mark 20 x 01 = 20

I. Select the correct answers from the choices given: (Repeated answers will not be considered)

1. Expand UPS
[A] Unlimited power supply [B] Unique power supply
[C] Uninterruptable power system [D] Uninterruptable power supply
2. Idempotence law states that
[A] x.x=x [B] x.x'=0 [C] x+x=1 [D] x+y=y+x
3. Identify basic logic gate
[A] AND[B] NAND [C] NOR [D] ALL
4. The data structure has homogenous elements
[A] Primitive [B] graph [C] linear [D] none
5. Which access specifier is implicitly used in a class?
[A] Private [B] public [C] protected [D] All
6. When the inline function may not work
[A] it has a switch or goto [B] If it starts with inline keyword
[C] Replaces function call with function code [D] all
7. Constructor that doesn’t take any arguments is called
[A] Copy constructor [B] parameterized [C] default constructor d )destructor
8. Which operator is used to insert inherit members of base class to derived
[A] . [B] :: [C] # [D] :
9. Pointer operator (*) also known
[A] Multiplication [B] direction [C] address of [D] indirection
10. Which level of abstraction deals with logical structure of entire database
[A] Physical level [B] conceptual level [C] external level [D] all
11. Which is used to remove the existing records from table?
[A] delete [B] alter [C] drop [D] all
12. The network spreads across countries known as
[A] LAN [B] MAN [C] WAN [D]none
13. Which of the following is an example for simplex communication mode
[A] Telephone communication [B] internet browsing
[C] Walkie-talkie [D] TV broadcasting
14. Which is responsible for producing standards for www?
[A] web server [B] HTML [C]URL [D] W3C
15. XML stands for
[A] Extensible markup language [B] Extensible marking language
[C] Extended markup language [D] Extended marking language

Ballari | Challakere | Hosapete | Ilkal


SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

II. Fill in the blanks choose the appropriate word / words from those given in brackets (Repeated will not be
considered)

(ER diagram, alternate key, Primary key, Data model, cardinality)


16. _________ refers to maximum no. of relationships in an entity
17. _________ is an abstract model , that describes how data is represented and used
18. _________ is a visual representation of data.
19. Candidate keys which are not selected as primary key called __________
20. A key that uniquely identifies each record in a table called __________

PART - B

Answer any four questions. Each question carries two marks 04 x 02 = 08

21. Define minterm, maxterm.


22. Prove algebraically that (x+y) (x+z) = x+yz
23. Define [A] data abstraction [B] polymorphism
24. What is constructor? Write its syntax
25. Explain types of files in C++
26. Name the data types supported by DBMS
27. Give syntax & example for delete command
28. Write differences between LAN and WAN

PART - C

Answer any four questions. Each question carries three marks 04 x 03 = 12

29. Explain cache memory?


30. Explain NAND gate?
31. Write memory representation of one- dimensional array
32. Write differences between static & dynamic memory
33. Explain methods of opening files in C++
34. Explain database users.
35. Explain types of web scripting.
36. Write advantages of E-commerce.

PART - D

Answer any six questions. Each question carries five marks 06 x 05 = 30

37. simplify using k-map f(A,B,C,[D]=∑(0,4,8,9,10,11,12,13,15)


38. Write an algorithm to perform binary search.
39. Write an algorithm to delete an element from front end of the queue
40. Write advantages and disadvantages of OOP’s.
41. Explain class definition and declaration with syntax and example
42. Explain function over loading with advantages?
43. What is copy constructor? Write features of copy constructors
44. Write advantages of inheritance.
45. Explain data processing cycle.
46. Explain Group functions in SQL.
47. Explain any five networking devices.

Ballari | Challakere | Hosapete | Ilkal


SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

COMPUTER SCIENCE
PU 2 - MODEL PAPER – [ 03 ]

PART - A

Answer all the questions. Each question carries one mark 20 x 01 = 20

I. Select the correct answers from the choices given: (Repeated answers will not be considered)

1. Expand ISA
[A] Indian standard architecture [B] Industry standards architecture
[C] International standard architecture [D]None
2. Another name for k-map
[A] Boolean algebra [B] Switching algebra [C] ven diagram [D] Quard
3. ______________________ is a logical product of variable
[A] minterm [B] maxterm [C] POS [D] none
4. Which is example of nonlinear data structure.
[A] stack [B] queue [C] linked list [D] tree
5. Which key word is used to define class?
[A]include [B]name [C] main() [D]class
6. identify the false statement
[A]friend function can access private or protected members
[B]friend function can be friend of more than one class
[C]friend function cannot me called without using object
[D]friend function can be declared any where
7. Like constructor, can there be more than one destructor in a class.
[A]yes [B]no [C]may be [D]can't say
8. Inheritance allow in C++ program?
[A] class reusability [B]creating a hierarchy of classes
[C] extensibility [D]all of these
9. a pointer variable can be
[A]passed to the function [B]changed with in function [C]returned by a function
[D]can be assigned an integer value
10. What is a row relation known as
[A]degree [B]entity [C]tuple [D]none
11. Which of the following is not valid SQL type
[A]Float [B]numeric [C]decimal [D]character
12. The location of the internet is given by its?
[A] protocol [B] URL [C]Email address [D] ICQ
13. Which of the following is not a network topology?
[A] star [B]ring [C]bus [D]peer to peer
14. IPR stands for
[A] Internet Property Rights [B] Internal Property Rights
[C] intellectual Property Rights [D] Indented Property rights
15. What are shared on the internet and are called as web pages?
[A] programs [B] cables [C] Hypertext documents [D]none

Ballari | Challakere | Hosapete | Ilkal


SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

II. Fill in the blanks choose the appropriate word / words from those given in brackets (Repeated will not be
considered)

(Report, query, database, table, data)


16. ________________ is a collection of related data
17. The representation of data in printed is called as _____________.
18. ___________ means all kinds of facts, and details related to people things or events
19. ___________ is used to retrieve information from the data base
20. __________ is basic units for stating data in database.

PART - B

Answer any four questions. Each questions carries two marks 04 x 02 = 08

21. Prove algebraically X+XY=X


22. Prove that X.X=0 by Perfect induction method.
23. What is the significance of class in OOP's?
24. Why are constructor needed in a programme justify.
25. What is stream? explain types of streams.
26. Mention various types of keys used in data base.
27. Write syntax and example for update command.
28. What is SIM card?

PART - C

Answer any four questions. Each question carries three marks 04 x 03 = 12

29. Give the features of USB port.


30. Realise AND, OR, NOT using NAND gate.
31. Explain types of queues.
32. Write advantages of pointers.
33. Write difference between get and get line.
34. Explain components of ER-diagram.
35. Write advantages of WWW.
36. What is web hosting explain types of web hosting.

PART - D

Answer any six questions. Each question carries five marks 06 x 05 = 30

37. Simply using k-map f(A,B,C,D)=(m0+m2+m4+m8+m9+10+m11+m12+m13).


38. What is Linked list? Explain types of linked list.
39. Write an algorithm to insert data element into rear end of the queue.
40. Write the difference between POP & OOP.
41. Explain how to define a member function outside the class.
42. Explain friend function with characteristics.
43. What is constructor, write rule for naming constructor?
44. Explain visibility mode.
45. Write difference between manual and electronic data processing.
46. Explain SQL constraints.
47. What is network security, explain network protection methods.

Ballari | Challakere | Hosapete | Ilkal


SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

COMPUTER SCIENCE
PU 2 - MODEL PAPER – [ 04 ]

PART - A

Answer all the questions. Each question carries one mark 20 x 01 = 20

I. Select the correct answers from the choices given: (Repeated answers will not be considered)

1. Which is the main memory of the computer:


[A] Cache memory [B] hard disk [C] RAM [D] pen drive
2. A(A+B) =
[A] AB [B] 1 [C] (1+AB) [D] A
3. Which of the following is not a logic gate:
[A] AND [B] OR [C] IF [D] NOT
4. Which of the following is a linear data structure:
[A] Array [B] AVL trees [C] Binary trees [D] Graphs
5. In a class data members are called also called as:
[A] Abstracts [B] Attributes [C] Properties [D] Dimensions
6. Which of the following in OPPs is supported by Function overloading and default
[A] Polymorphism [B] Encapsulation [C]Inheritance [D] None of the above
7. How many parameter does a default constructor required
[A] 1 [B] 0 [C] 2 [D] 3
8. Which of the following is not the advantage of inheritance.
[A] Reusing Existing code. [B] Memory Utilization
[C] Faster Development [D]Difficult to extend.
9. Choose the best answer prior to using a pointer variable.
[A]it’s should be declared [B]it should be initialized
[C] both a and b [D]none above
10. In which of the following formats data is store in the relational database management system.
[A] image [B] text [C] table [D] graph
11. which of the following is not a DDL command
[A] truncate [B] alter [C] create [D] update
12. a collection of hyperlinked documents on the internet forms the
[A] WWW [B]E-mail system [C] mailing list [D]html
13. the location of a resource on the internet is given by its
[A] protocol [B]url [C] e-mail address [D]icq
14. OSS stands for
[A] open system service [B] open source software
[C] open system software [D] open synchronized soft ware
15. Name the tag used to provide hyperlink.
[A] <a> [B] <b> [C] <h1> [D] All

Ballari | Challakere | Hosapete | Ilkal


SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

II. Fill in the blanks choose the appropriate word / words from those given in brackets (Repeated will not be
considered)

(Attribute, Data, Database, Menu bar, Select)

16. _____________ is a collection of related data


17. Each column is identified by __________________.
18. A ___________ model is the internal structure of database
19. _____________ used to obtain the subset of tuple.
20. _____________ is a basic unit for storing data in data base

PART - B

Answer any four questions. Each questions carries two marks 04 x 02 = 08

21. A truth table has input 1 for each of these inputs. ABCD=0011, ABCD=0101, ABCD=1000, what are the
fundamental products and write minterm expression.
22. Use duality theorem to derive another Boolean relation from: A + A . B = A + B
23. Mention any 2 advantages of object oriented programming over earlier Programming method?
24. Write syntax and an example for copy constructor?
25. Differentiate between get( ) and getline( )?
26. What is data warehouse?
27. What is use of null value?
28. What is Server? Mention the types.

PART - C

Answer any four questions. Each question carries three marks 04 x 03 = 12

29. What is slot? Explain any three.


30. Explain the working of NAND gate?
31. Write the algorithm of traversal in linear array?
32. How to declare pointer? Give an example?
33. Mention the types of files? Explain any one?
34. Explain the components of data warehouse?
35. What are the advantages of WWW?
36. Give the features of DHTML?

PART - D

Answer any six questions. Each question carries five marks 06 x 05 = 30

37. State and prove De Morgan’s thermos algebraically?


38. Write an algorithm to sort an array using insertion sort?
39. Write an algorithm for push and pop operation in stack using array?
40. Write the real life application of object oriented programming?
41. Describe how objects can be used as function argument?
42. Explain inline function with syntax and example?
43. Explain the features of copy constructor?
44. What is an abstract class? Explain?
45. Explain data base model?
46. Explain the built-in functions of SQL?
47. What is Virus? Give the measures for preventing virus?

Ballari | Challakere | Hosapete | Ilkal


SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

COMPUTER SCIENCE
PU 2 - MODEL PAPER – [ 04 ]

PART - A

Answer all the questions. Each question carries one mark 20 x 01 = 20

I. Select the correct answers from the choices given: (Repeated answers will not be considered)

1. 1. Which chip acts as a clock to keep that current time and date
[A] BIOS [B] CMOS [C] BUS [D] RAM
2. 2. The logical sum of two or more logical product term is called
[A] SOP [B] POS [C] OR OPERATION [D] AND OPERATION
3. 3. Which gate is called inverter gate
[A] NAND [B] And [C] Or [D] Not
4. 4. Searching is ………………
[A] Finding position of element. [B] Insertion of new element.
[C] Removing of existing element. [D] All the above
5. 5. The object is
[A] Real world entity [B] Instance of class
[C] none of these [D] Both A and B
6. 6. Several functions of the same name can be defined, as long as they have different parameters, this is calle[D]
[A] Function overloading [B] Functions reusing
[C] Operators overloading [D] None of them
7. 7. How many parameters does a default constructor require?.
[A] 1 [B] 2 [C] 0 [D] All the above
8. 8. How many types of inheritance is possible in c++
[A] 1. [B] 2. [C] 3. [D] 5.
9. 9. The operator used for in-directional operation is_____.
[A] @. [B] *. [C] #. [D] &
10. 10. What is the information about the data is called.
[A] Hyper data [B] Meta data [C] Data mining [D] Data warehouse
11. 11. Which of the following full form of DDL?
[A] Data definition language [B] Data dynamic language
[C] Data detailed language [D] Data derivation language
12. 12. The HTTP stands for _______
[A] Hyper terminal transfer protocol [B] Hyper terminal text protocol
[C] Hyper text transfer protocol [D] Hyper text terminal protocol
13. 13. Which of the following is not a network topology
[A] Star. [B] Bus [C] Ring [D] Peer to peer
14. 14. OSI stands for________
[A] Open source initiative [B] Open source information
[C] Open source image [D] All of the above
15. 15. Which is correct html tag to make text bold
[A] <b> [B] <Bold> [C] <BB> [D] <Bold>

Ballari | Challakere | Hosapete | Ilkal


SRI CHAITANYA GROUP OF COLLEGES Dept of Computer Science

II. Fill in the blanks choose the appropriate word / words from those given in brackets (Repeated will not be
considered)

(Column, data redundancy, Table IV, Tuples, Primary key)


16. Record is also called ______
17. The group of one or more columns used to uniquely identify each row of a relation is called _______
18. Two _______ cannot have the same name.
19. _______ consists of columns and rows
20. _______ prevented in duplication in database

PART - B

Answer any four questions. Each question carries two marks 04 x 02 = 08

21. What is principle of duality? Give an example.


22. Find the minterm for XY + Z.
23. What is dynamic binding?
24. What is parameterized constructor?. Mention any two advantage of parameterized constructor.
25. Mention the methods of opening file within C++ . Discuss any one.
26. What is data mining?
27. What is distinct key word to in SQL? Write the syntax for distinct command in SQL
28. What do you mean by transmission modes?

PART - C

Answer any four questions. Each question carries three marks 04 x 03 = 12

29. Explain the characteristics of mother board.


30. Draw the logic gate diagram to implement AND and OR gates using NAND Gates only.
31. What is queue? Explain the types of queues.
32. Mention the advantage of pointers.
33. Write the difference between binary and text file
34. Explain network model.
35. What is E-commerce? Explain any two types of E-commerce.
36. Explain any three text formatting tags in html.

PART - D

Answer any six questions. Each question carries five marks 06 x 05 = 30

37. Reduce the expression using k-map for the following function F(A,B,C,D)=€(0,1,3,4,5,6,8,9,10,11,13,15).
38. Explain the operation performed on arrays.
39. Write an algorithm to perform push and pop operation on stack.
40. Mention the advantage and disadvantage of opps.
41. Explain member functions
a) Inside class definition b) Outside class definition
42. What is inline function? .mention advantage and disadvantage of inline function.
43. What is copy constructor? Mention the advantage of copy constructor.
44. What is inheritance? Explain any 3 types of inheritance.
45. Explain data processing cycle?
46. Explain any 5 SQL constraints with example.
47. What is virus? Mention the symptoms of virus that affect to the computer.

Ballari | Challakere | Hosapete | Ilkal

You might also like