Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

hello can you help me Computer Programming II Q 1 8 Which of the following is not a syntax error? a . 'stdicicout 'Hello world!

hello can you help me Computer Programming II
Q18 Which of the following is not a syntax error?
a. 'stdicicout 'Hello world!';
b. std:icout "Hello
c. std::cout "Hello world!"
d. std::cout Hello world!;
Q19 Which of the following is not a valid C++identifier?
a. my Value
b. AAAI
c. width
d.m-x
Q20 Thi
statement passes a value back to a function's caller.
a. recover
b. restore
c. pass
d. return
Q21 Which of the following will not increment c by 1?
a.c+1
b.c+1;
c.++c
d.c+=1;
Q22 Each class you create becomes a new
you can use to declare variables and
create objects.
you can use to declare variable
a. variable
b. object
c. type
d. access modifier
Q23 In an activity diagram for an algorithm, what does a solid circle surrounded by a
hollow circle represent?
a. Initial state.
b. Final state.
c. Action state.
d. Transition.
Q24 Which of the following statements could potentially change the value of number2?
a. std::cin number 2 ;
b. sum = number 1+ number 2 ;
c. number 1= number 2 ;
d. std::cout number 2 ;
image text in transcribed

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

Database Reliability Engineering Designing And Operating Resilient Database Systems

Authors: Laine Campbell, Charity Majors

1st Edition

978-1491925942

More Books

Students also viewed these Databases questions

Question

Discuss the five steps that can be used to conduct a task analysis

Answered: 1 week ago

Question

Discuss the purpose and advantages of conducting a needs assessment

Answered: 1 week ago