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
Summary INF1511 Summarised Study Notes 2,65 €   Añadir al carrito

Resumen

Summary INF1511 Summarised Study Notes

 32 vistas  2 purchases
  • Grado
  • Institución

Latest summarized notes for exam preparation. for assistance. All the best on your exams!!

Vista previa 3 fuera de 24  páginas

  • 4 de enero de 2022
  • 24
  • 2022/2023
  • Resumen
avatar-seller
INF1511

NOTES

,INF 1511 – Revision notes – Chapter 1
1. Introduction
Python is a powerful high-level, dynamic object-oriented programming that is implemented
in C, and relies on the extensive portable C libraries.

Python is an interpreted programming language, which means that it can be executed by the
computer without compiling. Compiling is the conversion of a programing language into
machine instructions that can then be executed by the computer.

C is a general-purpose, computer programming language, supporting structured
programming.

The implementation of Python studied in the course is called CPython, or Classic Python
(often just called Python) other implementations are Jthon and IronPython.

2. Using Python
Python can be used on through the command line

The command line is used to execute one line of Python code at a time. Note that the
commands executed this way cannot be saved.




To ensure that Python can be executed from any folder on a computer, the Path variable in
the Environmental Variables must be updated with the path of the Python installation.

Or the IDLE IDE

, The IDLE enables the programmer to save Python code in a file and execute all the code at
once. One can edit, debug and preview code in the IDLE.




3. Basic Elements in a Program
Programs consist of the following basic elements, a collection of literals, variables, and
keywords.

Literals

A literal is a number or string that appears directly in a program, e.g.

10 # Integer literal
10.50 # Floating-point literal
'Hello' # String literal
"World!" # String literal
'''Hello World!
It might rain today # Triple-quoted string literal
Tomorrow is Sunday'''

In Python, you can use both single and double quotes to represent strings. The strings that run
over multiple lines are represented by triple quotes.

Variables
Variables are used for storing data in a program. E.g.
l = 10
Length = 10
k= "Hello World!"

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

Will I be stuck with a subscription?

No, you only buy this summary for 2,65 €. 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

Vistos recientemente


2,65 €  2x  vendido
  • (0)
  Añadir