Computer Science Ics Part 1 Chapter 2 Online Test With Answers

Computer Science Ics Part 1 Chapter 2 Online Test

Sr. # Questions Answers Choice
1

What does an IDE help with.

<p>Watching movies</p> <p>Writing and debugging &nbsp;code</p> <p>Playing games</p> <p>Sending messages</p>
2

Where should you download Python from.

<p>any app store</p> <p>Third -party site</p> <p>https:// www..pyyhon.org.</p> <p>Rando download links</p>
3

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>
4

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>
5

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>
6

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>
7

The operation used to combine two lists in Python.

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

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>
9

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>
10

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>
11

The operator used for exponentiation in python is

<p>**</p> <p>*</p> <p>//</p> <p>/</p>
12

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>
13

Avalid variable name in Python is

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

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>
Download This Set

Is this page helpful?