100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

PYTHON Exam 1 Review Practice Test.

Beoordeling
-
Verkocht
-
Pagina's
5
Cijfer
A+
Geüpload op
06-04-2025
Geschreven in
2024/2025

PYTHON Exam 1 Review Practice Test. d rwx rwx rwx (file type, user, group, other) - CORRECT ANSWER Permission classes mv - CORRECT ANSWER Rename file in bash mv ~/projects/ - CORRECT ANSWER Move a file into projects folder in bash cp - CORRECT ANSWER copies the file to a new name, leaving the old one. cp -v - CORRECT ANSWER copy verbose rm - CORRECT ANSWER Removes the file Insert, vi, command (i, esc, :) - CORRECT ANSWER Vim modes import pdb; _trace() - CORRECT ANSWER Python Debugger Commands scp [destination] [source] (scp :/home/u0669999/ ./) - CORRECT ANSWER SCP protocol from server scp [source] [destination] (scp ./ :/home/u0669999/) - CORRECT ANSWER SCP protocol to server history 100 - CORRECT ANSWER Display last 100 lines of history ['cumulus','cirrus','asperitas'] - CORRECT ANSWER What is the result of the following code: >>> clouds = 'cumulus,cirrus,asperitas'

Meer zien Lees minder
Instelling
PYTHON.
Vak
PYTHON.









Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
PYTHON.
Vak
PYTHON.

Documentinformatie

Geüpload op
6 april 2025
Aantal pagina's
5
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

PYTHON Exam 1 Review Practice Test.

d rwx rwx rwx (file type, user, group, other) - CORRECT ANSWER Permission classes



mv oldfile.txt newfile.txt - CORRECT ANSWER Rename file in bash



mv newfile.txt ~/projects/ - CORRECT ANSWER Move a file into projects folder in bash



cp newfile.txt newfile.bak - CORRECT ANSWER copies the file to a new name, leaving the old one.



cp -v - CORRECT ANSWER copy verbose



rm newfile.bak - CORRECT ANSWER Removes the newfile.bak file



Insert, vi, command (i, esc, :) - CORRECT ANSWER Vim modes



import pdb; pdb.set_trace() - CORRECT ANSWER Python Debugger Commands



scp [destination] [source] (scp u0669999@155.97.58.66:/home/u0669999/myfile.py ./myfile.py) -
CORRECT ANSWER SCP protocol from server



scp [source] [destination] (scp ./myfile.py u0669999@155.97.58.66:/home/u0669999/myfile.py) -
CORRECT ANSWER SCP protocol to server



history 100 - CORRECT ANSWER Display last 100 lines of history



['cumulus','cirrus','asperitas'] - CORRECT ANSWER What is the result of the following code:

>>> clouds = 'cumulus,cirrus,asperitas'

, >>> print clouds.split(',')



Identify the topic you want to explore - CORRECT ANSWER What is the first step in telling a story with
data?



<type 'str'> - CORRECT ANSWER What is the result of the following code:

>>> print type('Thistle,Fern,Milkwood')



dir (python) - CORRECT ANSWER Returns a list of methods of the object that is passed as a parameter. A
list of everything that can be pulled from a library.



- They are sortable

- They are similar to arrays in Java - CORRECT ANSWER Which of the following is true about lists in
python (mark all that apply):

- Individual elements cannot be modified

- They are sortable

- They are similar to arrays in Java

- All items must be the same type



Any number less than but not equal to 18 - CORRECT ANSWER The code below would print the text
'undefined parameter' when the variable gable equaled what?

if int(gable) >= 20:

print 'too high'

elif int(gable) >= 18 and gable < 20:

print 'too low'

else:

print 'undefined parameter'



Paradontax - CORRECT ANSWER toothpaste_list = ['Colgate','Parodontax','Sozodont']

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
ROSEGRADES Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
214
Lid sinds
2 jaar
Aantal volgers
87
Documenten
12161
Laatst verkocht
2 weken geleden
TOPGRADE

I HELP STUDENTS WITH REVISION MATERIALS WITH BETTER GRADES GUARANTEED. BEST OF LUCK.

3,4

30 beoordelingen

5
10
4
3
3
11
2
2
1
4

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen