Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien
logo-home
Summary INF1511 Summarised Study Notes €2,64   Ajouter au panier

Resume

Summary INF1511 Summarised Study Notes

 32 vues  2 achats
  • Cours
  • Établissement

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

Aperçu 3 sur 24  pages

  • 4 janvier 2022
  • 24
  • 2022/2023
  • Resume
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!"

Les avantages d'acheter des résumés chez Stuvia:

Qualité garantie par les avis des clients

Qualité garantie par les avis des clients

Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.

L’achat facile et rapide

L’achat facile et rapide

Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.

Focus sur l’essentiel

Focus sur l’essentiel

Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.

Foire aux questions

Qu'est-ce que j'obtiens en achetant ce document ?

Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.

Garantie de remboursement : comment ça marche ?

Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.

Auprès de qui est-ce que j'achète ce résumé ?

Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur iStudy. Stuvia facilite les paiements au vendeur.

Est-ce que j'aurai un abonnement?

Non, vous n'achetez ce résumé que pour €2,64. Vous n'êtes lié à rien après votre achat.

Peut-on faire confiance à Stuvia ?

4.6 étoiles sur Google & Trustpilot (+1000 avis)

72841 résumés ont été vendus ces 30 derniers jours

Fondée en 2010, la référence pour acheter des résumés depuis déjà 14 ans

Commencez à vendre!
€2,64  2x  vendu
  • (0)
  Ajouter