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

Computer_Science

The document is an examination paper for a Computer Science course, detailing various questions across multiple units including programming concepts in Python, computer systems, data management, and societal implications of technology. It includes instructions for answering questions and specifies marks allocated for each question. Topics covered range from Python syntax and data types to database management and cybersecurity issues.

Uploaded by

rp0609932
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Computer_Science

The document is an examination paper for a Computer Science course, detailing various questions across multiple units including programming concepts in Python, computer systems, data management, and societal implications of technology. It includes instructions for answering questions and specifies marks allocated for each question. Topics covered range from Python syntax and data types to database management and cybersecurity issues.

Uploaded by

rp0609932
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Total No.

of Printed Pages ––8 (2)


HS/XI/A.Sc.Com./CS/19
(c) Write real constants 21.235 and 0.00052 in
exponential form. 1
2019

COMPUTER SCIENCE (d) How are comments written in Python? 1


( Theory )
(e) What is an identifier? What are the identifier
forming rules in Python? 2
Full Marks : 70
Time : 3 hours (f) What are literals? How many types of literals are
available in Python? 2
The figures in the margin indicate full marks for the questions
(g) How is a mutable object different from an
General Instructions : immutable object? Give one example of each type. 2
(i) Write all the answers in the Answer Script.
(h) What is meant by traversing a string? 2
(ii) Answer each Unit questions together at one place.
Or

Unit–I What is the difference between pop( ) and remove ( )


methods of list? 2
( Marks : 35 )
(i) What will be the output of the following code
(Programming and Computational Thinking-PCT-1) fragment: 2

a=5

1. Answer the following questions: while a<8:


print(a*2)
(a) What is Python’s standard library? 1 a=a+1
else: print (a – 2)
(b) What is a Character set? 1

HS/XI/A.Sc.Com./CS/19 HS/XI/A.Sc.Com./CS/19
(3) (4)

Or (o) What are operators? How many types of operators


are available in Python? Explain arithmetic
What will be the output of the following code operators with examples. 4
fragment: 2
Or
a, b, c = [1, 2, 3], [1, 2, 3], [6, 2, 3]
x = [a, b, c] Write a Python program to calculate and print
print (a + x) the roots of a quadratic equation. 4

(j) How can you create a tuple by reading elements


through keybord input? 2 (p) Write a Python program to input ‘n’ numbers of
elements and store them in a tuple. 4
Or
Or
What are the characteristic of Python dictionaries? 2
What are the differences between ‘for loop’ and
(k) What are logical errors? 2 ‘while loop’? Explain with examples. 4

(l) Write a Python program to swap the contents of


two variables A and B. 3 UNIT – II
( Marks : 10 )
Or
(Computer Systems and Organisation)
What is operator precedence and associativity?
What is the associativity of the exponent operator? 2. Answer the following questions:
3
(a) What are the functional components of a digital
(m) Explain the if-else statement with example. 3 computer? 2

(n) What is meant by a data type? What are the built-in


(b) What is the purpose of main memory of a
core data types of Python? How many numeric 2
computer?
data types does Python provide? 3

HS/XI/A.Sc.Com./CS/19 HS/XI/A.Sc.Com./CS/19
(5) (6)

Or (c) Define tuples and attributes. 2

What is the role of communication processor of a (d) List two advantages and disadvantages of using
mobile system? 2 database system. 2

(c) What is an operating system? 1 (e) Differentiate between CHAR and VARCHAR data
types. 2
(d) Convert any one of the following: 2

(i) (D6C1)16 = (?)10 Or

(ii) (110110.111)2 = (?)10 Explain the functions LTRIM( ), and SQRT ( ) 2

(iii) (0.5625)10 = (?)2 (f) Explain UPDATE command. 2

(g) What is a join? How is Natural join different from


(e) Draw a logic circuit diagram using NAND or NOR an Equi-join? 2
only to implement the Boolean function.
F(A,B) = A’B’ + AB 3 Or

Or What are the advantages of indexes? 2

State DeMorgan’s Theorems and prove them (h) Consider the following EMPLOYEE table and Write
using truth table. 3 SQL commands for questions that follow . 3
Emp_No Emp_Name Designation Date of Salary
UNIT – III joining
8000 Sharmistha Manager 1990-12-18 45000.00
( Marks : 15 )
8010 Ajay Clerk 2004-10-05 15000.00
(Data Management-1)
8025 Bina Analyst 1988-01-25 50000.00
3. Answer the following questions: 8030 Rizwan Salesman 1998-05-15 18000.00
8040 Dinesh President 1980-03-02 60000.00
(a) What is a database? 1
8045 Pankaj Vice President 1985-04-28 55000.00
(b) What is meant by Primary key? 1 8050 Kuldeep Clerk 2006-09-17 14000.00

HS/XI/A.Sc.Com./CS/19 HS/XI/A.Sc.Com./CS/19
(7) (8)

i. Display all the records from the table Or


EMPLOYEE?
What measures should one take to avoid and
ii. Display all the records whose Designation is 2
maintain confidentiality of personal information?
‘Clerk’?

iii. Display all the records where the salary is (d) What is a computer virus? How can it affect your
between 40000 and 55000. computer? 2

Or
(e) Explain three method to protect your network
What do you understand by NoSQL databases? from virus. 3
How are these different from relational databases?
What are the different types of NoSQL databases? 3
Or

Explain the terms Spyware, phishing and Spam. 3


UNIT – IV

( Marks : 10 )

( Society, Law and Ethics-1 )

4. Answer the following questions:

(a) What is meant by Cyber safety? 1

Or

What is a Cybercrime? 1

(b) Explain briefly at least two Social Networking sites. 2

(c) What do you understand by identity theft? 2

HS/XI/A.Sc.Com./CS/19 HS/XI/A.Sc.Com./CS/19

You might also like