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 is the result of  3** 2 ?

<p>6</p> <p>5</p> <p>8</p> <p>9</p>
2

What does 'lambda x :x * 2 " do ?

<p>Defines a recursive funtion&nbsp;</p> <p>Creates an anonymous function&nbsp;</p> <p>Raises an error</p> <p>Defines a clss</p>
3

What is the output ofprint  ("Hello" end “!”)?

<p>Hello!</p> <p>Hello</p> <p>Error</p> <p>Hello on !</p>
4

Why ar eror messages important.

<p>Slow down the process</p> <p>Helps locate problems</p> <p>Not useful</p> <p>Indicate success</p>
5

What does pdb do.

<p>Compiles code</p> <p>Steps through and inspects code</p> <p>Writes tests</p> <p>Optimizes performance</p>
6

What is a common debugging technique.

<p>Writing more code</p> <p>Print statement</p> <p>Ignoring errors</p> <p>Frequent compiling</p>
7

What is debugging.

<p>Writing new code</p> <p>Finding and fixing errors</p> <p>Compiling</p> <p>Running test</p>
8

What is regression testing.

<p>Testing new features</p> <p>Ensuring no breakages in functionality</p> <p>UI testing</p> <p>Performace &nbsp;testing</p>
9

What is functional testing.

<p>Speed testing</p> <p>Validating usr behaavior</p> <p>Syntax checking</p> <p>Database testing</p>
10

What does integration testing check

<p>Individual functions</p> <p>User experience</p> <p>Code interaction</p> <p>Performance</p>
Download This Set

Is this page helpful?