Assume we have the following code:
int i=4;
int *p = &i;
What is the result of the following expression: ++*p?
PRF192-fe-fa24
Quiz
•
Computers
•
University
•
Medium
Phạm Minh Đức Huy undefined
Used 2+ times
FREE Resource
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
50 questions
Technical Quiz 2022-23
Quiz
•
University
50 questions
Java Programming Quiz 2-6
Quiz
•
University
40 questions
Coding Skill Test -I
Quiz
•
University
40 questions
Fun-a-thon Quiz
Quiz
•
University
44 questions
Round 1 Code2duo
Quiz
•
University
40 questions
C++ Basics
Quiz
•
University
40 questions
A4ALGU CLUB EVENT QUIZ
Quiz
•
University
49 questions
Quiz on C Operators
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade