
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
9 questions
Quiz z CSS

Quiz
•
11th Grade
10 questions
BLOG dan VLOG

Quiz
•
9th Grade
10 questions
SOAL IOS KELOMPOK 6

Quiz
•
11th Grade
5 questions
Soal Refleksi Peserta Didik

Quiz
•
10th Grade
10 questions
Database Knowledge Quiz

Quiz
•
9th Grade
5 questions
QUIZ FOR DOM

Quiz
•
10th Grade
10 questions
COMPUTACION 1ro y 2do BASICO FD

Quiz
•
9th - 12th Grade
10 questions
12A2 test 1 HK2

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Quiz
•
9th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade