midterm exam. compro (part2)

midterm exam. compro (part2)

University

25 Qs

quiz-placeholder

Similar activities

MOTD 2 DSE-C

MOTD 2 DSE-C

University

20 Qs

SUMMATIVE TEST (GRADE 8 - COMPUTER)

SUMMATIVE TEST (GRADE 8 - COMPUTER)

University

20 Qs

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

Text me!

Text me!

University

20 Qs

Bloque 3: Programación de dispositivos

Bloque 3: Programación de dispositivos

University

20 Qs

Control Structures  C#

Control Structures C#

University

20 Qs

YAY! Fridate with ComSSA (Network 101)

YAY! Fridate with ComSSA (Network 101)

University

20 Qs

Bridge course with C

Bridge course with C

University

20 Qs

midterm exam. compro (part2)

midterm exam. compro (part2)

Assessment

Quiz

Computers

University

Medium

Created by

Watcharin Tangsuksant

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

A program that displays 2n.


Choose the best answer for blank (b).

m = 2*i;

m = 2^n;

m *= 2;

m *= i;

Skip

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

Find the output shown on the screen from this program.

97531

13579

95173

1

Skip

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

The electrical current I (A) is calculated by I = V/R


where V is the voltage (V) and R is the resistance (Ω). By varying the resistance from 1 Ω to 5 Ω, find the current when the voltage is 1 V. Complete the for statement as shown in the image.


Choose the best answer for blank (a).

R = 0; R < 1.0; R++

R = 0; R <= 5; R++

R = 0; R < 6; R++

R = 1.0; R < 6.0; R++

Skip

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

The electrical current I (A) is calculated by

I = V/R


where V is the voltage (V) and R is the resistance (Ω). By varying the resistance from 1 Ω to 5 Ω, find the current when the voltage is 1 V. Complete the for statement.


Choose the best answer for blank (b).

I = 1.0/R;

I = 0.1/R;

I = 5/R;

I = 1.0;

Skip

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

Find the last value of u when the loop end

1

3

5

7

Skip

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

What will be the output of the following C code?

In for loop After loop

After loop

5

Compile time error

Skip

7.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

The program displays a multiplication table and allows the user to specify the size of the table. Complete the missing parts of the program.


Choose the best answer for blank (a).

i=1; i<12; i++

n=1; n<=i; n++

i=1; i<=n; i++

i=1; i<n; i+=2

Skip

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?