Computer Question Paper
Computer Question Paper
(c) WAP to assign a string "Faridabad city" to a variable str1. Display substring "bad"
from it. (3)
(d) WAP to assign your first name and last name in two different variables.
Concatenate both the strings & display it. (2)
Q8. Application based questions:
(a) Shruti is trying to write a program with multiple lines of codes in Python. Which
mode she should use? Also tell the extension used to save a program in this
language. (1)
(b) Raghav wants to create a nested list. Tell the feature he would used in OOo
writer & also tell the menu in which this option is present. (1)
(c) Samiksha wants to write "Information" and "Technology" on two different lines
using a single print statement in Python.
Which non printable character will she use. Also help her to write correct print
statement. (2)
(d) Rohan wants to write a formula as = A2 + B2 in cell C2 in calc.
Further he wants that the formula should not change when he copies it to
consecutive cells vertically. Write the correct formula for him. (1)
Q9. Answer the following based on the worksheet given. (1×5 = 5)