100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Cos1511 Exam Answers january february 2023 $4.26   Add to cart

Exam (elaborations)

Cos1511 Exam Answers january february 2023

1 review
 44 views  3 purchases
  • Course
  • Institution

The Cos1511 module is based on C++ A Staple in the development of cool games including the one you are playing right now The most versatile programming language for building IoT devices your smartwatch, your smartphone was all coded in C++ C++ will earn you $ or R 1 931 200 Buying thi...

[Show more]

Preview 2 out of 9  pages

  • January 26, 2023
  • 9
  • 2022/2023
  • Exam (elaborations)
  • Questions & answers

1  review

review-writer-avatar

By: antonma • 3 weeks ago

avatar-seller
Cos 1511 Examinations January/February 2023


Question 1


1) Since x is initialised, and x is less than 8 , the value of x will start from 0
and end at 8 according to the condition set in the while loop.

Option 4: 0 1 2 3 4 5 6 7 8


2) Since integer x is unknown, int y=10,int z=3
implies that x=y*z-3=10*3-3=30-3=27
the correct option is 4
x=27


3) option 3: 15


4) option 2: Where is the

5) option 4: 8

6) //calculations


input=5


x>=5 meaning the value of x is greater or = to 5

5 *14/100
70/100=0.7
5+0.7=5.7=option 2

, option 2: 2.7




7) // calculations

3*10/100=3/100=0.3+3=option 3


option 3: 3.3


8) option 1: true&&true&&true since all conditions=1



9) option 3: x has a value


10) option 2: enum //there is no such data type


Question 2

2a)

a) *
b) 1 2 3 4 5 6 7 8 9 10
c) **
d) 12 11 10 9
e) *****
f) 12345


2b)

while (age <30 && finalMark>=65) //the while loop


{

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller shivamnaik. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $4.26. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$4.26  3x  sold
  • (1)
  Add to cart