Professional Documents
Culture Documents
Setbft CS
Setbft CS
a) (2)
DEF calc(Val)
Adder= 0
for C in range(1,Val,3)
Adder =+ C
if C%2 = 0:
Print C*10
Else: Print C*
print (Adder)
a= int(input(“Value”))
calc(a)
b) (2)
x=input(“Enter a number”)
if(fabs(x)=x):
print(“You entered a positive number”)
Else:
x=*-1
print(“Number made positive ”,x)
c) import random
High =4
Guess=random,randrange(0,High)+50
forC in range (Guess,56):
print(C,end= “#”)
#Output Options:
Printdata()
display(40)
print(val)
Q5.
1. Differentiate between default arguments and keyword arguments with example. (2)
2. Differentiate between readline( ) and readlines( ) with example (2)
3. Evaluate : (2)
i. 6 * 3 + 4**2 // 5 – 8
ii. 10 > 5 and 7 > 12 or not 18 > 3
4. Write flow of execution of the following program (2)
b) Consider the a Binary file “Emp.Dat‟ has structure (empid,name salary) , Write a
function RECSHOW() to display only those records who are earning less han 5000.
(3)
c) Write a function in python to count as well as display words which are of length 3 in
“POEM.txt” (2)
d) Write a function in python to read lines from file “Article.txt” and display all those
words, which are starting with uppercase vowels. (2)
SECTION C
Q7.
1. Define Web Hosting. (2)
2. Define Cyber Crime. Your friend Mohini complaints that somebody has created a
fake profile on Facebook and defaming her character with abusive comments and
pictures. Identify the type of Cyber Crime for these situations. (2)
3. What is protocol? Which protocol is used to allows users to download E- Mail messages
from mail server to a local computer ? (2)
4. Define topology. Write two disadvantages of BUS topology (2)
5. Expand the following terms : (2)
(a) SLIP (b) EDGE (c) GSM (d) NNTP
6. Compare twisted pair cables with coaxial cables. (2)
7. What is baud. Write its unit. (2)
8. Answer the questions (i) - (vi) based on given information. (6)
“Learn Together” is an educational NGO. It is setting up its new campus at Jabalpur
for its web based activities. The campus has 4 compounds as shown in the diagram
below:
Center to center distance between various Compounds as per architectural drawings
(in Metre) is as follows:
Main Compound 5
Resource Compound 15
Training Compound 150
Finance Compound 20
(ii) Suggest the most suitable place (i.e., compound) to house the server for this NGO.
Also, provide a suitable reason for your suggestion.
(i) Repeater
(ii) Hub/Switch
(iv) The NGO is planning to connect its International office in Mumbai, which out of
the wired communication links, will you suggest for very high speed connectivity?
(v) The NGO is also planning to connect its office in hilly region , which out of the
communication links, will you suggest for connectivity?
(vi) NGO is taking internet using telephone lines which device is required and where
it should be placed.