
LVL3 Quiz2
Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Practice Problem
•
Hard
Mehmet Yetginer
Used 1+ times
FREE Resource
Enhance your content in a minute
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
C101 MIS Classroom Rules Quiz
Quiz
•
10th Grade
12 questions
QUIZ IHT SPNF SKB SUMBA TENGAH
Quiz
•
12th Grade
9 questions
Condition Programming Quiz
Quiz
•
1st Grade - University
5 questions
Pengenalan Internet
Quiz
•
9th Grade
10 questions
Cuestionario sobre Hardware y Software
Quiz
•
9th Grade
11 questions
Python Programming Basics
Quiz
•
11th Grade
10 questions
BÀI 16. ĐỊNH DẠNG KHUNG
Quiz
•
12th Grade
10 questions
Quiz on Personalized Learning
Quiz
•
12th Grade - University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Information Technology (IT)
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
25 questions
Preterito regular
Quiz
•
10th - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
10 questions
hands washing
Quiz
•
5th - 12th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
20 questions
Punnett Squares and Genetics
Quiz
•
9th Grade
