
Современные языки программирования. Тема-8

Quiz
•
Computers
•
University
•
Easy

Khatira Abbasova
Used 10+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Определите результат кода my_set = {1, 2.2, 'hello'}
создаcт множество my_set
создаст кортеж my_set
создаст список my_set
создаст строку my_set
ошибка TypeError
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Что выполняет следующий код num = set() ?
создаст пустой множество
создаст множество с элементами num
создаст пустой кортеж
создаст пустой словарь
создаст словарь с элементами num
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Удаляет элемент если он есть в множестве, если его нет, то ничего не делает
num.discard()
num.remove()
num.pop()
num,add()
num.del()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Удаляет и возвращает случайный элемент множества
num..pop()
num.discard()
num.remove()
num.add()
num.del()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Удаляет элемент если он есть в множестве, если его нет, то вызовет ошибку
num.remove()
num.discard()
num.pop()
num.del()
num.add()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Задан my_set = {1, 2, 3}.
Что выполнит следующий код:
my_set.add(5)
{1, 2, 3, 5}
{5, 1, 2}
{1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3}
TypeError
{5}
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Задан my_set = {1, 2.2, 'hello', 1}.
Определите результат len(my_set)
3
4
5
Null
{1, 2.2, 'hello'}
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
OOPJ- Data Types-Java

Quiz
•
University
11 questions
oop_r2

Quiz
•
University
15 questions
Uji Pemahaman Analisis Data

Quiz
•
9th Grade - University
9 questions
عناوين العمليات بلغة جافا

Quiz
•
10th Grade - University
10 questions
PF Unit 10

Quiz
•
9th Grade - University
15 questions
Code Craft : Java & Web Quiz"

Quiz
•
University
10 questions
Introduction to Python Quiz

Quiz
•
8th Grade - University
5 questions
Ievads

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University