Basics
Question 1 |
Consider the rectangle with vertices (0,0),(0,2),(3,0),(3,2).There is a scaling of 2 towards the x-axis and 3 towards the y-axis. The new coordinates of the rectangle are
(0,0)(6,0)(0,4)(6,4)
| |
(0,0)(6,0)(0,4)(3,2)
| |
(0,0)(6,0)(0,6)(6,6)
| |
(0,0)(4,0)(0,6)(4,6) |
Question 1 Explanation:
To scale a rectangle by a factor of 2 along the x-axis and 3 along the y-axis, you can apply the scaling factor to each vertex individually. The scaling operation multiplies the x-coordinate by 2 and the y-coordinate by 3 for each vertex.
Given the original vertices of the rectangle:
(0, 0)
(0, 2)
(3, 0)
(3, 2)
After scaling, the new coordinates are:
(0 * 2, 0 * 3) = (0, 0)
(0 * 2, 2 * 3) = (0, 6)
(3 * 2, 0 * 3) = (6, 0)
(3 * 2, 2 * 3) = (6, 6)
So, the correct new coordinates of the rectangle after scaling are:
(0, 0) (0, 6) (6, 0) (6, 6)
The option that matches these coordinates is:
(0, 0) (0, 6) (6, 0) (6, 6)
Question 2 |
Bug means
A logical error in a program | |
A difficult syntax error in a program | |
Documenting programs using an efficient documentation tool | |
All of the above |
Question 2 Explanation:
A bug is an error in a software program. It may cause a program to unexpectedly quit or behave in an unintended manner. For example, a small bug may cause a button within a program's interface not to respond when you click it. A more serious bug may cause the program to hang or crash due to an infinite calculation or memory leak.
Question 3 |
The ___ is the physical path over which a message traversals
Path | |
Protocol | |
Route | |
Medium |
Question 3 Explanation:
● Protocol is a standard used to define a method of exchanging data over a computer network, such as local area network, Internet, Intranet, etc.
● Routing is the process of moving a packet of data from one network to another network based on the destination IP address.
● The physical channel used for transmission in the network is called medium.
● Message travel from sender to receiver via a medium using a protocol
● Routing is the process of moving a packet of data from one network to another network based on the destination IP address.
● The physical channel used for transmission in the network is called medium.
● Message travel from sender to receiver via a medium using a protocol