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
CSC1015F Summary notes of whole course 4,92 €   Añadir al carrito

Resumen

CSC1015F Summary notes of whole course

  • Grado
  • Institución
  • Book

Summarized notes for the CSC1015F course at UCT. Notes are a summary of lectures, course material & textbook. I achieved a 90% for this course, with these notes. Detailed summary with examples, and explains everything you will need to know for any assignments/tests/exams.

Vista previa 6 fuera de 39  páginas

  • 6 de mayo de 2021
  • 39
  • 2020/2021
  • Resumen

4  reseñas

review-writer-avatar

Por: zuleighhhhha • 2 año hace

review-writer-avatar

Por: caleblester • 2 año hace

review-writer-avatar

Por: julietyacoubi01 • 2 año hace

review-writer-avatar

Por: Jontycohen • 2 año hace

These notes were an absolute lifesaver! Set out really well and very comprehensive, covered every topic of the course and helped me understand everything

avatar-seller

Preguntas de práctica disponibles

Tarjetas 34 Tarjetas
€2,59 1 ventas

Algunos ejemplos de esta serie de preguntas de práctica

1.

What is an algorithm?

Respuesta: An algorithm is a set of steps to accomplish a task.

2.

Algorithms must be precise so that they are: A. Ambiguous B. Can be executed by different people C. Repeatable D. Have a predictable outcome (write down all that are correct)

Respuesta: B, C, D

3.

A function _________. A. must always have a return statement to return a value B. may have no parameters C. must have at least one parameter D. must always have a return statement to return multiple values

Respuesta: B

4.

Does the function call in the following function cause syntax errors? import math def main(): math.sin(math.pi) main()

Respuesta: No

5.

Which of the following should be defined as a non return function? A. Write a function that returns a random integer from 1 to 100. B. Write a function that prints integers from 1 to 100. C. Write a function that checks whether a number is from 1 to 100. D. Write a function that converts an uppercase letter to lowercase.

Respuesta: B

6.

Consider the following incomplete code: def f(number): # Missing function body print(f(5)) The missing function body should be ________. A. print(\"number\") B. return number C. print(number) D. return \"number\"

Respuesta: B

7.

Given the following function header: def f(p1, p2, p3, p4) Which of the following are correct to invoke it? A. f(p1 = 1, p2 = 2, p3 = 3, 4) B. f(p1 = 1, 2, 3, 4) C. f(1, 2, 3, 4) D. f(p1 = 1, p2 = 2, p3 = 3, p4 = 4)

Respuesta: C, D

8.

Given the following function: def nPrint(message, n): while n > 0: print(message) n -= 1 What will be displayed by the call nPrint(\'a\', 4)? A. aaaa B. aaa C. infinite loop D. aaaaa

Respuesta: A

9.

A variable defined inside a function is referred to as __________. A. a global variable B. a local variable C. a block variable D. a function variable

Respuesta: B

10.

What will be displayed by the following code? x = 1 def f1(): y = x + 2 print(y) f1() print(x) A. 3 1 B. 1 3 C. The program has a runtime error because x is not defined. D. 1 1

Respuesta: A

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 jessrosie. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for 4,92 €. 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
4,92 €  11x  vendido
  • (4)
  Añadir