kartkówka - petle for i while w języku Python

Quiz
•
Computers
•
12th Grade
•
Medium

Dawid Pindel
Used 12+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynik wyżej napisanego kodu?
Wypisze 10 razy słowo sprawdzian
Wypisze liczbę 10 i słowo sprawdzian
Wypisze liczbę 10 i słowo sprawdzian
Wypisze jeden raz słowo sprawdzian
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Powtarzanie, aż określony warunek stanie się prawdziwym użyciem
Zastosujesz pętle for
Zastosujesz pętle while
Zastosujesz instrukcje if
Zastosujesz instrukcje elif
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Znak, który musi znajdować się na końcu linii w przypadku if, while, for itp.
:
;
.
,
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jaki będzie wynik tego programu?
1
2
11
1
2
21
1
2
3
11
1
2
3
21
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ile razy następujący program wypisze słowo „komputer”:
slowo= "komputer"
for i in range(1,6):
print(slowo)
7
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co zostanie wypisane w wyniku działania poniżej pętli?
licznik = 0
while licznik < 5:
print (licznik)
licznik = licznik + 1
0,1,2,3,4
0,1,2,3,4,5
1,2,3,4
1,2,3,4,5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jakiego kodu użyjesz aby wypisać ciąg liczb: 6, 12, 18, 24, 30 ?
for x in range(6, 30, 6):
print(x)
while x (6, 35, 6):
print(x)
for x in range(6,35,6):
print(x)
while x (6, 30, 6):
print(x)
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Loops

Quiz
•
5th - 12th Grade
12 questions
Algorytmy tekstowe - kartkówka

Quiz
•
12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
11 questions
Python Inputs

Quiz
•
9th - 12th Grade
11 questions
Python Function

Quiz
•
11th - 12th Grade
14 questions
Algorytmy 2

Quiz
•
9th - 12th Grade
17 questions
Tracing Loops in Java

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University