Page 1
SAMPLE
PAPER
Half Yearly Examination
Prepared For
NCERT BASED SYLLABUS
Applicable For
CBSE BOARD AND STATE BOARD USING NCERT
WWW.
Page 2
HALF YEARLY EXAMINATION
SAMPLE QUESTION PAPER
Class -VIII Subject–Computer Science
Time–90 Minutes Maximum Marks-50
Select the most suitable alternative: [1x50=50]
1. NIU stands for:
a. Network internal unit
b. Net interface unit
c. Network interface unit
2. Now a day’s mobile phones have inbuilt_______devices that help to browse internet:
a. Modem
b. Toolkit
c. Web portal
3. Character literals refer to :
a. ‘A’
b. ‘1’
4. In LAN, data communication takes place at the rate of:
a. 100-1000 mbps
b. 10-20 mbps
c. 10-1500 mbps
5. Which of the following is a Python tuple?
a. (1,2,3)
b. [1,2,3]
c. {1,2,3}
d. {}
6. In this type of cable, data are transferred through electromagnetic waves:
a. Ethernet cable
b. Co-Axial cable
c. Fiber optic
7. What is the output of expression, 25%4?
a. 0
b. 1
c. 7
d. 6
1
Page 3
8. The centralized computer with huge storage capacity and very high processing speed is called as:
a. Server
b. Tree
c. Workstation
d. Mesh
9. In this type of network there is no specific tariff to be followed for its usage:
a. WAN
b. MAN
c. LAN
10. This mode allows a user to type a set of commands only in a line at command prompt:
a. Script Mode
b. Windows Mode
c. Interactive Mode
11. Paytm, Mobiwik, Freecharge etc are commonly used e - ____________ :
a. Net recharge
b. Wallets
c. E-commerce
12. Choose the valid identifiers:
a. _HeLlo
b. _12
13.
..........
..........
?
Figure 1
Consider the table given above i.e. Figure1.Find out the decimal value of F and its binary equivalent?
a. F(1100)
b. 15(1111)
c. F(1110)
d. 15(1101)
2
Page 4
14. ________ is used as a shorthand representation of long binary numbers.
a. Decimal Number System
b. Binary Number System
c. Hexadecimal Number System
d. Octal Number System
15. Which of the following is not a data type?
a. Lists
b. Tuples
c. Dictionary
d. Class
16. Codes in the form of combination of 0’s and 1’s is known as:
a. Base
b. ASCII
c. Complement
17. Choose the relevant i.e. correct program code in Python to calculate the bonus amount of the Employee(A
company announces 10% bonus on the sales made by an Employee on the condition that he will get only if
the sales amount is equal to or more than 10000).
a. sales=float (input ("enter the sales amount= "));
if (sales>=10000):bonus=sales*0.10;
print (“bonus is %f"%( bonus));
b. sale=float (input ("enter the sales amount: "));
if (sales>=10000):bonus=sales*0.10;
print (“bonus is %f"%( bonus));
c. sales=string (input ("enter the sales amount: "));
if (sales>=10000):bonus=sales*0.10;
print (“bonus is %f"%( bonus));
d. sales=float (input ("enter the sales amount: "));
if (sales>=10000):bonus=sales*0.10;
(“bonus is %f"%( bonus));
18. Choose the relevant i.e. correct program code in Python to enter a number and check whether it is even or
odd:
a. n = int ( input (“enter the value of n= "));
if (n% 2 = = 0) : print (“even”);
else: print (" odd");
b. n = int ( input (“enter the value of n = "));
I f (n% 2= 0) : print (“even”)
else: print (" odd");
c. n = int ( input (“enter the value of n = "));
if (n% 2 = = 0) : print (even”)
Else: print (" odd");
3
Page 5
19. Define Router:
a. Has the ability to connect LAN which have different protocol
b. And it also has the ability to limit the flow of broadcasts
c. It forwards packets on the basis of address of destination.
d. All of these
20. CAN stands for?
a. Communication area network
b. Controller area network
c. Controller auto network
21. Convert decimal number i.e.85 into its equivalent binary numbers and choose the correct answer as given
below:
a. 1010111
b. 1010101
c. 1110101
22. Convert 3A to Decimal number and choose the correct answer as given below:
a. 56
b. 58
c. 50
23. TCP/IP stands for:
a. Transfer control protocol/Internal protocol
b. Transmission control protocol/Internet protocol
c. Translate control protocol/Internet protocol
24. IDLE stands for:
a. Integral Deployment Environment
b. Integrated Device Environment
c. Integrated Development Environment
25. There are _____keywords in Python.
a. 30
b. 33
c. 31
26. The total number of digits used in a number system is called its:
a. Base
b. Radix
27. IMAP stands for:
a. Internet Mark Access Program
b. Internet Mail Auto Protocol
c. Internet Message Access Protocol
4
Page 6
28. What are the values of the following Python expressions?
2**7
a. 64
b. 512
c. 128
29. According to the ‘Rules of Binary Addition’, 0+1=1+0=?
a. 0
b. 00
c. 1
30. ________ topology combines the characteristics of linear, bus and star topology.
a. Ring
b. Mesh
c. Tree
d. None of the above.
31. It includes drawings, paintings, scanned images, photographs, still and video images:
a. Graphics
b. Audio
c. Animation
32. The documents in web sites that display information are called as:
a. Server
b. Webpage
c. ISP
d. LAN
33. Which of the following is the extension to save Python program file?
a. .py
b. .pty
c. .pyt
34. Compute the following binary arithmetic accurately:1111000-1011100
a. 0011011
b. 0100011
c. 0011100
35. One of the biggest networks that has become an integral part of our daily life is:
a. Communication
b. Internet
c. Applications
36. Some commonly used FTP client are__________,Dreamweaver,etc
a. Fire wire
b. Firefox
c. FileZila
5
Page 7
37. Which of the following is used to restart the python?
a. Ctrl+F6
b. Ctrl+F8
c. Ctrl+F7
d. Ctrl+F9
38. Operators can be classified as :
a. Unary,Arithmetic
b. Bitwise, Relational
c. Assignment, logical
d. All of the above
39. Single quote (‘ ’) and _________ functions are similar in a python program.
a. Triple apostrophe’’’
b. # symbol
c. Double quote (“ ”)
40. Choose the correct syntax for decision making with logical operators:
a. if((condition 1) (and/or) (condition 2)):statement1;else:statement2;
2)):statement1;
b. if((condition 1) (and/or (condition 1)):statement1else:statement2;
1)):statement1
c. ifcondition 1) (and/or) (condition 2)):statement1;else:statement2;
2)):statement1;
41. What are contiguous
uous set of characters in between pairs of single or double quotes
quotes?
a. Numbers
b. Expression
c. String
42. Define advantages of cloud computing
computing.
a. Cost and Productivity
b. Performance and Reliability
43. Find out the correct label partof.org as given in the Figure2
This part is called as?
Figure2
a. Top Level Domain
b. IP
c. IMAP
d. FTP
6
Page 8
44. This negates or reverses the truth value of the expression. This option is written as_
as_____
_____.
a. Logical ‘and’
b. Logical ‘or’
c. Logical ‘not’
d. All of the above
45. Point out the invalid variable.
a. 1Hello
b. @hello
c. return
46. Compute the following binary arithmetic accurately: 10110+10110
a. 101100
b. 1001101
c. 1001001
47. The flowchart given below is related with
with____________decision-making statement:
a. Branching
b. if ….else
48. Some popular ________are Apache,, IBM Lotus, Internet information Server (IIS)
IIS) of Microsoft,
Microsoft etc
a. Web portal
b. Web server
7
Page 9
49. Choose the relevant program code in Python to display the colors of rainbow as per the user’schoice:
a. choice = int (input("Enter 1-7 (choice)")); b. choice = int (it("Enter 1-7 (choice)"));
if (choice = = 1):print ("Violet"); if (choice = = 1):print ("Violet");
elif (choice = =2): print ("indigo"); elif (choice = =2): ("indigo");
elif (choice = = 3):print ("blue"); elif (choice = = 3):print ("blue")
elif (choice == 4):print ("green"); elif (choice ==):print ("green");
elif (choice == 5):print ("yellow"); elif (choice ==):print ("yellow");
elif(choice ==6):print ("orange"); elif(choice ==6):print ("orange");
elif (choice ==7): print ("red")"; elif (choice == 7):print ("red")";
else: print ("keep guessing"); else: print ("keep guessing");
c. choice = (input("Enter 1-7 (choice)")); d . choice = int (input("Enter 1-7 (choice)"));
if (choice = = 1):print ("Violet"); if (choice = = 1):print ("Violet");
elif (choice = =2): ("indigo"); elif (choice = =2): ("indigo");
elif (choice = 3):print ("blue"): elif (choice = = 3): ("blue"):
elif (choice ==):print ("green"); elif (choice ==):print ("green")
elif (choice = 5):print ("yellow"); elif (choice ==):print ("yellow");
elif(choice =6):print ("orange"); elif(choice ==6):print ("orange");
(choice == print ("red")"; elif (choice == 7):print ("red")";
else: print ("keep guessing") else: print ("keep guessing");
50.__________has created the first website which was launched in the year___________.
a. Tesla,2020
b. Tata ,2021
c. Tim berners lee,1990
d. Tim berners lee,1991
8
AglaSem Earn while Learn Program. Send your papers and get paid.
Contact: support@