Computer Science Ics Part 1 Online Test With Answers

Computer Science Ics Part 1 Online Test

Sr. # Questions Answers Choice
1

Which step is part of writing a program.

<p>Compile /Interpret</p> <p>Play music</p> <p>Browse the internet</p> <p>Delete files</p>
2

What is the main purpose of programming.

<p>To watch videos</p> <p>To create instructions for a &nbsp;computer</p> <p>To draw pictues</p> <p>To send emails</p>
3

Which of the following fields used python

<p>Game developoment</p> <p>Data Analysis</p> <p>Artiicial Intelligence</p> <p>All of the above</p>
4

What is Python?

<p>A complex system language</p> <p>A high level, easy-to-learn programming language</p> <p>A web design tool</p> <p>A database system</p>
5

The operation used to combine two lists in Python.

<p>Combine ()</p> <p>Concat( )</p> <p>+</p> <p>merge ( )</p>
6

A output of the following code is: temperature, humidity , wid_ speed 25,60,15

print("Hot and humid" if temperature >30 and humidity >50 else “Warm and breez” If temperatue ==25 and wind _speed>10 else “Cool and dry ”If temperature <20 and humidity < else “Moderate”)

<p>Warm</p> <p>Hot</p> <p>Cool</p> <p>Nothing</p>
7

A range(functon used to generate a sequence of numbers.

<p>Generates a list of numbers</p> <p>Creates a sequence of numbers</p> <p>Calculats the sum of numbers</p> <p>Prints a range of numbers</p>
8

A loop used to iterate over a ollection such as lists is.

<p>for</p> <p>repeat</p> <p>while</p> <p>do while</p>
9

The operator used for exponentiation in python is

<p>**</p> <p>*</p> <p>//</p> <p>/</p>
10

Out put of the followng piece of code is.

Age= 25

print ("age:","age)

<p>Age 25</p> <p>25</p> <p>Age</p> <p>age</p>
11

Avalid variable name in Python is

<p>Variable</p> <p>Ivariable&nbsp;</p> <p>Variable name</p> <p>Varaible name</p>
12

An action needed during python instiallatio  to run from the command line asily

<p>Uncheck Add phyton to PATH</p> <p>Choose a differrente IDE</p> <p>Install only the IDE</p> <p>Cheek Add Python to PATH</p>
13

Which of the following is a code editor.

<p>GCC</p> <p>GDB</p> <p>VS code</p> <p>Python</p>
14

What is the purpose fo a dubugger.

<p>To find and fix errors</p> <p>To write code</p> <p>To design interfaces</p> <p>To manage databases</p>
15

Which tools translates hihg level code line -by-line

<p>Compiler</p> <p>Interpreter</p> <p>Debugger</p> <p>Assembler</p>
Download This Set

Is this page helpful?