
Осми разред
Authored by Marijana Andjelkovic
Computers
7th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Који од следећих записа представља коректан запис низа података у Пајтону?
A. [1; 2; 3; 4; 5]
B. <1, 2, 3, 4, 5>
C. [1, 2, 3, 4, 5]
D. <1; 2; 3; 4; 5>
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Како ће изгледати низ L након извршења следећег програмчића:
L = [2, 4, 1, 5, 7, 3, 9, 0]
L.sort()
A. [2, 4, 1, 5, 7, 3, 9, 0], тј. ништа се неће променити.
B. [0, 1, 2, 3, 4, 5, 7, 9], тј. елементи низа ће бити поређани од мањих ка већим вредностима.
C. [9, 7, 5, 4, 3, 2, 1, 0], тј. елементи низа ће бити поређани од већих ка мањим вредностима.
D. Систем ће пријавити грешку јер функција sort захтева додатни аргумент.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Како ће изгледати низ L након извршења следећег програмчића:
M = [1, 2, 3, 5, 4, 7]
L = [x for x in M if x % 2 == 0]
A. [2, 4]
B. [1, 3, 5, 7]
C. [1, 2, 3, 5, 4, 7]
D. [x for x in M if x % 2 == 0]
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Како да нађемо индекс елемента са највећом вредношћу у листи L?
A. L.index(max(L))
B. index(max(L))
C. index(max(L)+1)
D. L.max().index()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Шта је резултат израза [i for i in range(1,2)]?
A. [1]
B. [1,2]
C. 1, 2
D. 3
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Како би након следеће команде:
import matplotlib.pyplot as plt
требало позвати функцију plot из библиотеке matplotlib.pyplot?
A. matplotlib.pyplot.plot()
B. matplotlib.plot()
C. plt.plot()
D. pyplot.plot()
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Библиотека matplotlib.pyplot је увезена у програм овако:
import matplotlib.pyplot as plt
Помоћу ње је нацртан следећи дијаграм. Којом од понуђених наредби је дијаграм нацртан?
A. plt.plot(predmeti, ocene)
B. plt.bar(predmeti, ocene)
C. plt.barh(predmeti, ocene)
D. plt.histogram(predmeti, ocene)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade