0% found this document useful (0 votes)
38 views6 pages

NM&O Using Python - QUIZ

This document contains a 10 question quiz about numerical methods and optimization using Python. The quiz covers topics like root finding methods, Gaussian elimination, exceptions, and Python libraries for solving ordinary differential equations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views6 pages

NM&O Using Python - QUIZ

This document contains a 10 question quiz about numerical methods and optimization using Python. The quiz covers topics like root finding methods, Gaussian elimination, exceptions, and Python libraries for solving ordinary differential equations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

4/2/24, 6:04 PM NM&O Using Python - QUIZ

NM&O Using Python - QUIZ


[email protected] Switch account Draft saved

* Indicates required question

Email *

Record [email protected] as the email to be included with my response

Name *

Avadhesh Ram Tripathi

UID *

23BCS80022

Section Category *

KRG

TPP

NTPP

Section No. (Group A & B) *

905

https://docs.google.com/forms/d/e/1FAIpQLScRiFENJb75it3h1WB8vqm-G2HJCjR0FAhVf_PLAZy42lYrYA/viewform 1/6
4/2/24, 6:04 PM NM&O Using Python - QUIZ

1. Which method is used to find the minimum of a function without using * 1 point

derivatives?

A) Gradient Descent

B) Newton's Method

C) Bisection Method

D) Simulated Annealing

2. Which of the following is also known as the Newton Raphson method? * 1 point

A) Chord method

B) Tangent method

C) Diameter method

D) Secant method

3. If a function is real and continuous in the region from a to b and f(a) and * 1 point
f(b) have opposite signs then there is no real root between a and b.

A) True

B) False

https://docs.google.com/forms/d/e/1FAIpQLScRiFENJb75it3h1WB8vqm-G2HJCjR0FAhVf_PLAZy42lYrYA/viewform 2/6
4/2/24, 6:04 PM NM&O Using Python - QUIZ

4. What will be the output of the following program? * 1 point


i=0
while i < 3:
print i
i++
print i+1

012345

102435

Error

021324

5) In Gaussian elimination method, original equations are transformed by * 1 point


using _____________

A) Row Operations

B) Column Operations

C) Subset Operations

D) Mathematical Operations

6) What is the region of convergence of Secant Method? * 1 point

A) 1.5

B) 1.62

C) 1.2

D) 1.66

https://docs.google.com/forms/d/e/1FAIpQLScRiFENJb75it3h1WB8vqm-G2HJCjR0FAhVf_PLAZy42lYrYA/viewform 3/6
4/2/24, 6:04 PM NM&O Using Python - QUIZ

7) Which block is executed no matter if an exception occurs or not? * 1 point

A) catch

B) try

C) except

D) finally

8) The reduced form of the Matrix in Gauss Elimination method is also * 1 point
called ____________

A) Row Echelon Form

B) Column-Row Echelon Form

C) Row-Column Echelon Form

D) Column Echelon Form

9) Which of the following is the correct way to print "Hello, World!" in * 1 point

Python?

System.out.print("Hello, World!")

echo "Hello, World!"

console.log("Hello, World!")

print("Hello, World!")

https://docs.google.com/forms/d/e/1FAIpQLScRiFENJb75it3h1WB8vqm-G2HJCjR0FAhVf_PLAZy42lYrYA/viewform 4/6
4/2/24, 6:04 PM NM&O Using Python - QUIZ

10. Which Python library provides functionality for solving ordinary * 1 point

differential equations (ODEs)?

A) NumPy

B) SymPy

C) SciPy

D) Pandas

Submit Clear form

Never submit passwords through Google Forms.

This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy

Forms

https://docs.google.com/forms/d/e/1FAIpQLScRiFENJb75it3h1WB8vqm-G2HJCjR0FAhVf_PLAZy42lYrYA/viewform 5/6
4/2/24, 6:04 PM NM&O Using Python - QUIZ

https://docs.google.com/forms/d/e/1FAIpQLScRiFENJb75it3h1WB8vqm-G2HJCjR0FAhVf_PLAZy42lYrYA/viewform 6/6

You might also like