Search Header Logo

PRF192-fe-fa24

Authored by Phạm Minh Đức Huy undefined

Computers

University

Used 2+ times

PRF192-fe-fa24
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assume we have the following code:

int i=4;

int *p = &i;

What is the result of the following expression: ++*p?

5

4

9

12

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the incorrect definition?

Algorithm: a way to find out a solution

Data: Values are used to describe information. So, information can be called as the mean of data

Solution: A situation in which something is hidden

Information: Knowledge about something

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a C program compiles without any errors or warnings, it means that the syntax of the program is correct, and the compiler successfully translates the code into machine-readable instructions. However, a program can still produce incorrect results if there are in the code.

compilation errors

runtime errors

logic or semantic errors

interpreter errors

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a type of bus in a computer?

Address bus

Signal bus

Control bus

Data bus

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Errors that occur due to syntax errors belong to which of the following?

Compile time error

Run time error

Input error

Linking error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result when converting 01001010 in binary system to decimal system?

78

76

74

72

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which format specifier is used to print the value of a double variable?

%lf

%d

%c

%f

Access all questions and much more by creating a free account

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

Already have an account?