WorksheetsGraphics and Numerical Methods Quiz
Total questions: 56
Worksheet time: 3hrs 48mins
Newton-Raphson method is used to find:
Integrals
Matrices
Roots of equations
Derivatives
Trapezoidal rule is used for:
Differentiation
Matrix solving
Numerical integration
Root finding
Gauss elimination is used to solve:
Derivatives
Linear equations
Integrals
Polynomials
Which method uses divided differences?
Lagrange interpolation
Newton’s interpolation
Simpson’s rule
Bisection
Which method gives exact result for linear function integration?
Trapezoidal rule
Simpson’s rule
Gauss quadrature
Newton-Raphson
Simpson’s rule is based on:
Trapezoids
Parabolas
Lines
Cubes
Order of error in trapezoidal rule is:
O(h)
O(h²)
O(h³)
O(h⁴)
Which method requires initial guesses?
Bisection method
Gauss elimination
Trapezoidal rule
Simpson’s rule
R is mainly used for:
Web development
Mobile apps
Statistical computing
Game development
Which function in R reads CSV files?
read.file()
read.csv()
load()
import()
Which tool is used for version control in data science?
Excel
Tableau
Git
Jupyter
APIs help in:
Accessing data from web
Data visualization
Writing loops
Debugging code
Which is a data cleaning tool?
OpenRefine
Photoshop
MS Word
VLC Player
Which package is used in R for data visualization?
numpy
pandas
ggplot2
scipy
Which of the following is used to summarize data?
read.csv()
lm()
summary()
paste()
Which one is an IDE for R?
VS Code
RStudio
Eclipse
NetBeans
Which is a 3D transformation?
Translation
Rotation
Scaling
All of the above
Circle drawing algorithm using integer calculations is:
DDA
Midpoint circle algorithm
Bresenham line algorithm
Scan-line
Polygon filling is done using:
Clipping algorithms
Shading models
Scanline fill algorithm
Perspective projection
Reflection transformation is used for:
Mirroring objects
Rotating objects
Scaling objects
Coloring objects
Homogeneous coordinate for point (x, y) is:
(x, y)
(x, y, 1)
(x, y, 0)
(x, y, z)
Which is a primitive element in graphics?
Polygon
Text
Images
Point
2D viewing pipeline involves:
Clipping and projection
Shading
Color mapping
Pixel manipulation
Perspective projection causes:
Objects to stay same size
Objects to shrink with distance
Objects to magnify
No change
Which display is best for color graphics?
CRT
LCD
Dot-matrix
Plotter
Line clipping algorithm:
Cohen-Sutherland
DDA
Bresenham
Midpoint
Ellipse generation algorithm is an extension of:
DDA line algorithm
Midpoint circle algorithm
Cohen-Sutherland
Scanline fill
What is scan conversion?
Filling polygons
Converting shapes to pixels
Clipping
Transforming coordinates
Which device is not an input device?
Mouse
Keyboard
LCD monitor
Light pen
Which transformation moves an object?
Translation
Scaling
Rotation
Reflection
Shear transformation:
Rotates object
Distorts shape along an axis
Mirrors object
Clips object
Which is not a raster scan advantage?
Smooth color display
Simple refresh method
Vector storage
Realistic images
Z-buffer is used for:
2D clipping
Hidden surface removal
Line drawing
Polygon fill
A pixel is:
A color model
Smallest screen element
A primitive
A display device
Aliasing effect appears due to:
Low resolution
High resolution
Good color depth
Anti-aliasing
Which software is used in graphics?
MS Word
OpenGL
Excel
SQL
Bisection method divides interval into:
Three parts
Two parts
Four parts
Five parts
Lagrange interpolation uses:
Divided differences
Polynomial products
Matrix multiplication
Newton’s method
Order of convergence of Newton-Raphson is:
Linear
Quadratic
Cubic
None
Trapezoidal rule uses:
Average of function values
Minimum of values
Maximum of values
Zero value
Error in Simpson’s rule is proportional to:
h²
h³
h⁴
h⁵
Gauss-Jordan is extension of:
Gauss elimination
Newton’s method
Simpson’s rule
Bisection method
Jacobi method is used for:
Solving linear equations
Integration
Differentiation
Root finding
Forward difference is used in:
Interpolation
Integration
Differentiation
Matrix solving
Simpson’s 1/3 rule applies to:
2 intervals
Even intervals
Odd intervals
Single interval
Condition for using Newton-Raphson:
Function must be linear
Derivative exists
Discontinuous function
Random function
Markdown is used for:
Documentation
Coding
Debugging
Testing
Which is a control structure in R?
csv
if-else
ggplot
read
Loop function in R:
ggplot()
for()
read()
summary()
Which command debugs code in R?
read.csv()
debug()
loop()
load()
Which function profiles code performance in R?
system()
Rprof()
sum()
plot()
APIs return data often in:
Excel format
JSON format
JPEG
Which is NOT a data type in R?
Numeric
Picture
Character
Logical
Which is an example of exploratory data analysis (EDA)?
Running a machine model
Plotting histograms
Loading data
Installing packages
Cleaning data involves:
Adding noise
Reducing resolution
Removing missing values
Encrypting data
Which is used to simulate random data?
read.csv()
summary()
rnorm()
load()
