Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1 What is setprecision set to by default when your program starts ? setprecision(2) setprecision(4) setprecision(6) setprecision(8) QUESTION 2 The following date: 72 'A'

QUESTION 1

What is setprecision set to by default when your program starts ?

setprecision(2)

setprecision(4)

setprecision(6)

setprecision(8)

QUESTION 2

The following date:

72 'A' "Exams Stink" 2.8712

are all examples of ____________.

variables

literals or constants

strings

QUESTION 3

Which of the following statements is the correct way to include a library in a C++ program?

#include (iostream)

#include {iostream}

#include

#include [iostream]

What does fixed setprecision control?

Page headings.

The spacing between variables.

How many places to right of decimal point you want for a number.

The width for a number.

QUESTION 5

If z is an integer and it initially contains the value 7, what value will z contain after execution of the instruction z /= 3;

2

1

2.33333

the result is unknown

QUESTION 6

Which data type is not a standard C++ data type?

int

float

double

num

char

QUESTION 7

The three basic control structures that are used in programming are _____.

int, double, and string

while, do...while, and for

sequence, decision, and repetition

input, output, and arithmetic

QUESTION 8

Which data type has a range of approximately +- 10 to the 38th?

int

float

double

string

char

QUESTION 9

Which of the following symbols is the input operator with cin?

<<

::

>>

??

What is the value of the expression 25 % 3?

8

1

0

undefined

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_2

Step: 3

blur-text-image_3

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

Database Design Query Formulation And Administration Using Oracle And PostgreSQL

Authors: Michael Mannino

8th Edition

1948426951, 978-1948426954

More Books

Students also viewed these Databases questions