60:00
0/18 Attempted
Your Progress
Attempted 0
Correct 0
Incorrect 0
Skipped 0
Score 0
Marks 0

Operators & Expressions — Test 1

Page 1 of 2

Review Skipped Questions

0
Question 1
In C++, what is the result of int a = 5; int b = a++ + ++a;?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 2
In C++, what happens with int i = 0; if (i != 0 && 10 / i > 1) {...}?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 3
In C, what is the value of the expression 5 / 2 * 2.0?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 4
In Python 3, what is -7 // 2?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 5
In C++, what is -7 / 2?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 6
In Python, what is -7 % 3?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 7
In C++, what is -7 % 3?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 8
In C, what is the value of x after int x = 2 + 3 * 4 % 5;?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026
Question 9
In C, what does if (x = 0) { puts("zero"); } do?
FPSC- Programmer (BS-17) - PMD High Yield - 2026
Question 10
In C++, what are the values of 6 & 3 and 6 && 3?
FPSC- Programmer (BS-17) - Pakistan Meteorological Department (PMD) Model Papers - 2026