Page 1
4350584
Registration No. :
X1- 2025
Subject Code
41 (NS)
ntOE OICOMPUTER SCIENCE
(Kannada and English Versions)
[do: 3rot3n] no oanes :70]
[Time 3 Hours] [Total No. of questions : 44] [Max. Marks :70]
(Kannada Version)
1. E g ag`o A, B, C, D Jo Joey orris.
2.
on -A
(20 x 1 = 20)
1)
abas 8OF ioeaF (PCB)
a) oio b)
c) d)
P.T.O.
Page 2
41 (NS) -10
(English Version)
Instructions : 1. Ihe question paper has four parts namely A, B, C, D.
2. For Part-A questions, only the first written answers
will be considered for evaluation.
PART -A
Answer all the questions, each question carries 1 mark. (20x 1= 20)
I. Select the correct answer from the choices given.
1) The large Printed Circuit Board (PCB) having many chips, ports and
controllers mounted on it.
a) Processor b) Motherboard
c) Slots d) Power unit
2) According to which law, the complement of a variable is complemented
again, we get the same variable?
a) Complementarity law b) Absorption law
c) Involution law d) Idempotence law
3) The two input XNOR gate produces the output as high (1) when its inputs
are
a) 0, 0 b) 1,1
c) 0, 1 d) Both a) and b)
4) Assertion (A) : Tree is a linear data structure.
The data items in tree data
Reason (R)
hierarchical relationship. structure represent
a) A is true,R is false b) A is false, R is false
c) A is false, R istrue d) A is true, R is true
Page 3
-11 41 (NS)
5) Given the class
class student
int regno ;
char name(25];
public:
int marks ;
void get();
Identify the data members of the class student.
a) regno, name, marks b) regno, name
c marks regno, name, marks, get()
6) Anon-member function that has full access right to the private and
protected members of the class.
Inline function b) Friend function.
a)
c) Overloaded function d) Both b) änd c)
7) The return type of destructor is
int b) void
a)
no return type d) both a) and b)
c)
another class is
8) The class whose properties are inherited by
Base class b) Derived class
a)
Virtual class d) Abstract class
c)
pointer)
9) Given:int *ptr, n= 25;which is the correct way to initialize the
ptr = *n; b ptr =&n;
a)
ptr=n; d n= ptr;
c)
Page 4
41 (NS) -12
10) The set of values for an attribute in that column.
a) Tuple b) Fields
C Domain d) Entity
11) The SQL Command used to delete the entire table.
a) Delete b) Drop
c) Remove d) Desc
12) Correct expansion of HTTP.
a) Hyper Text Transfer Protocol
b) High Text Transfer Protocol
c) Hyper Test Transmission Protocol
d) High Text Transmit Protocol
13) The device that connects dissimilar networks.
a) Hub b). Switch
c) Router d) Gateway
14) A non-profit organisation created for the purpose of
supporting free
software movement.
a) FSF b) GNU
c) OSS d) FLOSS
15) The type of web hosting which rents the entire web server
from the
hosting company.
a) Co-location hosting b) Dedicated hosting
c) Free hosting d) Virtual hosting
Page 5
-13 41 (NS)
Fll in the blanks choosing theappropriate word/words from those glvel
bracket.
(Data independence, Data intearity. Sequential, Foreign, DatawarenouSe,
Serial)
16) refers to the validity of data.
17) The ability of the database to modify a schema definition at one level
without affecting next higher level is
18) In file organisation records are arranged one after
another determined by the key field.
19) key can be used to crOSS-reference tables.
20) is. a repository of organisations electronically stored data.
PART -B
marks.
II, Answer any four questions. Each question carries 2 (4 x2 =8)
21) Write the dual form of:
a) 1+0=1
b) X1=X
gate.
22) Realize OR gate using only NAND
parameterizedconstructor.
23) Write any two features of
Page 6
41 (NS) -14
24) List the member functions of "ofstream".
25) Define data model. Mention any one data model.
26) Mention any two logical operators in SQL.
27) What is "order by" clause in SQL?Write its syntax.
PART -C
IV. Answer any four questions. Each question carries 3 marks. (4x3=12)
28) Write a note on UPS and its types.
29) Explain the different types of linked list.
30) Define:
a) Free store
b) this pointer
c) Self referential structure.
31) What is a file? Compare text file and binary file.
32) Describe the different levels of RDBMS.
Page 7
-15 41 (NS)
33) \dentify the,type of e-commerce in the
following cases :
a) Buying of used cars from the owner.
b) Buying of goods by distributor from manufacturer.
c) Buying of goods from Amazon website.
34) Briefly explain the basic structure of HTML.
PART-D
V. Answer any four questions. Each question carries 5 marks. (4x5=20)
35) What is primitive data structure? Explain the different operations
performedon primitive data structure.
36) Write an algorithm to insert an element into the Queue.
37) Explain aný five characteristics of OOP.
38) Define inline function. Write the situations where inline function may not
work.
39) Explain default constructor with syntax and suitable programming
example.
40) With a neat diagram explain the different types of inheritance.
41) Give the measures for preventing virus.
Page 8
41 (NS) -16
VI. Answer any two questions. Each guestion carries 5 (2 x5=10)
marks.
42) Given the Boolean function
F(A,B,C,D)= X(5, 6, 7, 10, 14, 15).
Simplify it using K-map.
43) Define a class emplovee with data members empno,
empname and
member functions getdata( )and putdata( ). Define the member functions
outside the class.
44) With reference to the table given below, write the SQL query to
perform
the following operations:
Table Name:Book
Book - CodeBook - Name Book - Qty | Book- Price
101 C 5 200
102 Java 10 250
103 Python 20 350
104 HTML 15 150
105 SQL 25 230
a) Display all the records from "Book" table.
b) Add a new field "Total Cost" to the table book.
c) Calculate the Total - Cost.
d) Find the highest Total Cost.
e) Delete the record whose Book - Code is 102.
AglaSem Earn while Learn Program. Send your papers and get paid.
Contact: support@