What type is the following nested loop?for (i = 0; i < 10; i++)   for (j = 0; j < 10; j *= 2)      application code

A. linear
B. linear logarithmic
C. quadratic
D. dependent quadratic


Answer: B

Computer Science & Information Technology

You might also like to view...

(Car-Pool Savings Calculator) Research several car-pooling websites. Create an application that calculates your daily driving cost, so that you can estimate how much money could be saved by car pooling, which also has other advantages such as reducing carbon emissions and reducing traffic congestion. The application should input the following information and display the user’s cost per day of driving to work:

a) Total miles driven per day. b) Cost per gallon of gasoline. c) Average miles per gallon. d) Parking fees per day. e) Tolls per day.

Computer Science & Information Technology

The Start button, open window buttons, and the ________ area are located on the taskbar

Fill in the blank(s) with correct word

Computer Science & Information Technology

What is the name of the Cisco's initial proprietary first-hop redundancy protocol?

A) HSRP B) GLBP C) VRRP D) CRBP

Computer Science & Information Technology

The person who creates a meeting and sends the invitations is known as the meeting ____.

A. organizer B. scheduler C. creator D. initiator

Computer Science & Information Technology