
LVL3 Quiz2

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Hard
Mehmet Yetginer
Used 1+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdaki kod çalıştırıldığında ne yazdırır?
1
2
3
Hata verir
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdaki Python sınıfında kullanılan @property dekoratörü ne işe yarar?
year_of_birth özelliğinin dışarıdan metot gibi değil, nitelik(attribute) gibi kullanılmasını sağlar
year_of_birth özelliğini salt okunur (read-only) hale getirir
year_of_birth özelliğinin sadece __init__ içinde kullanılmasını sağlar
year_of_birth özelliğini ön belleğe (cache) alarak bir kez hesaplar, tekrar hesaplamaz
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdakilerden hangisi SQLite veritabanı dosyası oluşturur?
create database("example.db")
sqlite3.connect("example.db")
open("example.db", "w")
sqlite3.load("example.db")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python’da veritabanına veri ekledikten sonra kalıcı olması için hangi method çağrılmalıdır?
commit()
fetchall()
execute()
close()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
SELECT sorgusu ile veritabanındaki tüm satırları almak için hangi method kullanılır?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdakilerden hangisi Python’da parametreli sorgu yazmanın doğru yoludur?
cursor.execute("SELECT * FROM students WHERE id = ?", 3)
cursor.execute("SELECT * FROM students WHERE id = ?", (3,))
cursor.execute("SELECT * FROM students WHERE id = ?", "3")
cursor.execute("SELECT * FROM students WHERE id = 3")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hangisi id değeri 2 olan öğrencinin name alanını "Ahmet" olarak güncellemek için kullanılabilecek doğru SQL sorgusudur?
UPDATE students SET id = 2 WHERE name = "Ahmet"
MODIFY students SET name = "Ahmet" WHEN id = 2
UPDATE students SET name = "Ahmet" WHERE id = 2
CHANGE students name TO "Ahmet" WHERE id = 2
Similar Resources on Wayground
10 questions
Dependency Functions Quiz

Quiz
•
12th Grade
10 questions
BÀI 18. THỰC HÀNH XÁC ĐỊNH CẤU TRÚC BẢNG VÀ CÁC TRƯỜNG KHÓA

Quiz
•
11th Grade
10 questions
2º Quiz de Login em HTML e CSS

Quiz
•
12th Grade
10 questions
Diagnostik awal ASJ

Quiz
•
9th - 12th Grade
11 questions
G 10- Understanding Main Memory and Cache

Quiz
•
10th Grade - University
8 questions
أساسيات البرمجة بلغة بايثون

Quiz
•
11th Grade
10 questions
Kuis tentang Pengembangan Diri dan Pendidikan

Quiz
•
10th Grade
10 questions
Quiz về HTML và CSS

Quiz
•
12th Grade
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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
20 questions
Biomolecules

Quiz
•
9th Grade