What is the value of a in below program?
int main()
{
int a, b=20;
a = 90/b;
return 0;
}
bt 3 2023
Quiz
•
Business
•
University
•
Hard
Smiley Sunshine
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of a in below program?
int main()
{
int a, b=20;
a = 90/b;
return 0;
}
4.5
4.0
4
Compilation Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator has highest precedence in * / % in C++ ?
*
/
all have same precedence
%
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is true?
"X extends Y" is correct if and only if X is a class and Y is an interface
"X extends Y" is correct if and only if X is an interface and Y is a class
"X extends Y" is correct if X and Y are either both classes or both interfaces
"X extends Y" is correct for all combinations of X and Y being classes and/or interfaces
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java byte, short and long, all of these are
signed
unsigned
Both of the above
None of these
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a type of software license?
Proprietary License
Open Source License
Creative Commons License
Free License
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the logo
Lattelier
Levis
Louis Vuitton
None of the these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is used to define a ___.
d = {
<key>: <value>,
<key>: <value>,
.
.
.
<key>: <value>
}
Group
List
Dictionary
All of the mentioned above
10 questions
bt_m -1 2023
Quiz
•
University
11 questions
APD_TCDN_6. Review chương 6
Quiz
•
University
7 questions
Administración Financiera EA Semana 6
Quiz
•
University
11 questions
Магія ДІ
Quiz
•
University
10 questions
CBL MCQ Test 1
Quiz
•
University
8 questions
Licensing and Franchisie
Quiz
•
University
10 questions
Warsztaty z rachunkowości finansowej listopad 2022
Quiz
•
University
7 questions
Modulus Function
Quiz
•
4th Grade - 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