Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 12 (1 point) radius is a C++ keyword. Question 12 options: True False Save Question 13 (1 point) Declare an int called s with

Question 12 (1 point)

image text in transcribed

radius is a C++ keyword.

Question 12 options:

True

False

Save

Question 13 (1 point)

image text in transcribed

Declare an int called s with an initial value of 20. Don't put in any unnecessary spaces.

Question 13 options:

Save

Question 14 (1 point)

image text in transcribed

What is the value of 11/2

Question 14 options:

Save

Question 15 (1 point)

image text in transcribed

What is the value of 2 / 5 * 3

Question 15 options:

Save

Question 16 (1 point)

image text in transcribed

What is the final value of d after the following code segment is executed?

double d=1.0;

int a=1;

d = a++;

Question 16 options:

0.0

1.0

2.0

undefined

Save

Question 17 (1 point)

image text in transcribed

What is the final value of d after the following code segment is executed?

double d=1.0;

int a=1;

d = ++a;

Question 17 options:

0.0

1.0

2.0

undefined

Save

Question 18 (1 point)

image text in transcribed

What is the final value of d after the following code segment is executed?

double d=1.0;

int a=1;

d = a/2;

Question 18 options:

0.0

0.5

1.0

undefined

Save

Question 19 (1 point)

image text in transcribed

The default case is required with the break statement.

Question 19 options:

True

False

Save

Question 20 (1 point)

image text in transcribed

The expression (x > y && a is true if either x > y or a .

Question 20 options:

True

False

Save

Question 21 (1 point)

image text in transcribed

What is the result of the following expression:

floor(123.4567 * 100 + .5) / 100

Question 21 options:

Save

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 2 Lnai 9285

Authors: Annalisa Appice ,Pedro Pereira Rodrigues ,Vitor Santos Costa ,Joao Gama ,Alipio Jorge ,Carlos Soares

1st Edition

3319235249, 978-3319235240

Students also viewed these Databases questions