100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada
logo-home
COS1511 Assignment 2 (COMPLETE ANSWERS) 2024 (735127) - DUE 13 May 2024 $2.67   Añadir al carrito

Examen

COS1511 Assignment 2 (COMPLETE ANSWERS) 2024 (735127) - DUE 13 May 2024

 87 vistas  3 veces vendidas
  • Grado
  • Institución
  • Book

COS1511 Assignment 2 (COMPLETE ANSWERS) 2024 (735127) - DUE 13 May 2024 ;100 % TRUSTED workings, explanations and solutions. For assistance call or W.h.a.t.s.a.p.p us on ...(.+.2.5.4.7.7.9.5.4.0.1.3.2)........... Assignment 2: 2024 SUBMISSION: Electronically via myUnisa Please note that we a...

[Mostrar más]

Vista previa 3 fuera de 24  páginas

  • 22 de abril de 2024
  • 24
  • 2023/2024
  • Examen
  • Preguntas y respuestas
avatar-seller
COS1511
ASSIGNMENT 2 2024

, COS1511/102/0/2024




ASSIGNMENT 2 2024

Introduction to Programming I
COS1511

Year:2024


School of Computing


This tutorial letter contains important information
about your module.




BARCODE




Open Rubric

, COS1511/102/0/2024

Assignment 2: 2024 SUBMISSION:


Electronically via myUnisa


Please note that we automatically give five days extension for this assignment. It will be to
your own advantage to check after a few days whether the assignment has been registered on
the system. If you have not completed the assignment by the extension date, submit whatever
you have completed – you will get marks for everything that you have done.

DUE DATE 13 May 2024

UNIQUE NUMBER 735127
EXTENSION There is no extension for this assignment



TUTORIAL MATTER Study Guide, Lessons 17 – 23

CONTRIBUTION WEIGHT TO
YEAR MARK
QUESTIONS Practical exercises



If myUnisa is off-line when you want to submit the assignment, you need not contact us,
because we will be aware of it. Simply submit it as soon as myUnisa is available again.
Question 1
Write function headers for the functions described below:

(i) The function check has two parameters. The first parameter should be an integer number and the
second parameter a floating point number. The function returns no value.

(ii) The function mult has two floating point numbers as parameters and returns the result of
multiplying them.

(iii) The function time inputs seconds, minutes and hours and returns them as parameters to its
calling function.

(iv) The function countChar returns the number of occurrences of a character in a string, both provided as
parameters.


Question 2

Find the error(s) in each of the following program segments and explain how the error(s) can be
corrected:

(i) int function1()
{

cout << "Inside function function1 " <<

Los beneficios de comprar resúmenes en Stuvia estan en línea:

Garantiza la calidad de los comentarios

Garantiza la calidad de los comentarios

Compradores de Stuvia evaluaron más de 700.000 resúmenes. Así estas seguro que compras los mejores documentos!

Compra fácil y rápido

Compra fácil y rápido

Puedes pagar rápidamente y en una vez con iDeal, tarjeta de crédito o con tu crédito de Stuvia. Sin tener que hacerte miembro.

Enfócate en lo más importante

Enfócate en lo más importante

Tus compañeros escriben los resúmenes. Por eso tienes la seguridad que tienes un resumen actual y confiable. Así llegas a la conclusión rapidamente!

Preguntas frecuentes

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.

100% de satisfacción garantizada: ¿Cómo funciona?

Nuestra garantía de satisfacción le asegura que siempre encontrará un documento de estudio a tu medida. Tu rellenas un formulario y nuestro equipo de atención al cliente se encarga del resto.

Who am I buying this summary from?

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

Will I be stuck with a subscription?

No, you only buy this summary for $2.67. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

45,681 summaries were sold in the last 30 days

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

Empieza a vender
$2.67  3x  vendido
  • (0)
  Añadir