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
40 questions
Quizz PTS Kelas XI Struktur Data Array
Quiz
•
11th Grade - University
49 questions
Test 2
Quiz
•
University
45 questions
IP MIDTERM
Quiz
•
University
50 questions
Quiz
Quiz
•
University
50 questions
SAINS KOMPUTER TINGKATAN 4 BAB 1
Quiz
•
3rd Grade - University
40 questions
ASAS SAINS KOMPUTER T2 [ULANGKAJI]
Quiz
•
1st Grade - University
50 questions
Orientation Quiz
Quiz
•
University - Professi...
45 questions
TECHNICAL QUIZ
Quiz
•
University
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade