PWT Sample Paper
PWT Sample Paper
PWT
Computer Science (083)
Max. Time: 2 Hours Max. Marks: 40
General Instructions:
1. Please read the instructions carefully.
2. This Question Paper consists of 07 questions
3. All questions of a particular section must be attempted in the correct order.
Section A
Q. 1 Answer any 4 out of the given 5 questions on Employability Skills (1 x 4 = 4 marks)
i. Which of the following is valid arithmetic operator in python? 1
A) // B) ? C) < D) and
ii. All keywords in Python are in …………except three keywords. 1
A) Lowercase B) Uppercase C) Capitalized D) None of these
iii. Find the invalid identifiers from the following 1
A) MyName B) True C) TwoName D) My_Name
iv. Which of the following is an invalid datatype in Python? 1
(A) Set (B) None (C)Integer (D)Real
v. Which of the following commands will delete the table from MYSQL database? 1
(a) DELETE TABLE (b) DROP TABLE (c) REMOVE TABLE (d) ALTER TABLE
ii. Draw a logical circuit diagram for the following Boolean expression and write truth table: 2
A.(B+C’)
iii. Distinguish between mutable and immutable data types? Define with example.. 2
iv. What is deference between while loop and do while loop? Define with xample 2
v. Write a program to find whether a given number is odd or even? 2
vi State two difference between tuple and list? Explain with example? 2
vii Find Output 2
arr = [1, 2, 3, 4, 5, 6]
print(arr[-2])
print(arr[0])
Pg. 2