Which of the following is a valid variable name in Python?, 2name, my_name, class, print, "What will this code print?, HelloWorld, Hello + World, Hello World, Error, Which method makes a string all uppercase?, .upper(), .capitalize(), .lower(), .replace(), True or False: A variable name in Python can include spaces., TRUE, FALSE, True or False: The len() function can be used to count the number of characters in a string., TRUE, FALSE, True or False: Functions in Python must always return a value., TRUE, FALSE, "Fill in the blank to get the first character of the string word:, 0, 2, 3, 1, Which of the following is NOT a valid Python data type?, int, str, real, list, "What will this code output?, ALICE, alice, Alice, Error, Which operator is used for exponentiation in Python?, ^, **, exp(), //, "What will this code print?, 2, 2.5, 3, Error, True or False: Strings in Python are immutable., TRUE, FALSE, Which function is used to find the length of a list or string?, count(), size(), len(), length(), Fill in the blank: The keyword used to return a value from a function is _____., return, yield, send, output, Which method removes whitespace from both ends of a string?, strip(), trim(), cut(), split(), "What will this code print?, y, t, P, Error, Fill in the blank: To take input from the user, we use the _____ function., input(), read(), scan(), ask(), "What will this code output?, 10, 55, Error, Fill in the blank: The built-in function to convert a string to an integer is _____., int(), str(), float(), convert(), True or False: In Python, you can assign multiple variables in one line., TRUE, FALSE
0%
Variable, Strings, Methods, Functions
مشاركة
مشاركة
بواسطة
Theudysmejiaper
G10
CS
Programming Fundamentals
تحرير المحتوى
حفظ
إعجاب
طباعة
تضمين
المزيد
الواجبات
لوحة الصدارة
عرض المزيد
عرض أقل
لوحة الصدارة هذه في الوضع الخاص حاليًا. انقر على
مشاركة
لتجعلها عامة.
عَطَل مالك المورد لوحة الصدارة هذه.
عُطِلت لوحة الصدارة هذه حيث أنّ الخيارات الخاصة بك مختلفة عن مالك المورد.
خيارات الإرجاع
اختبار تنافسي
قالب مفتوح النهاية. ولا يصدر عنه درجات توضع في لوحة الصدارة.
يجب تسجيل الدخول
النمط البصري
الخطوط
يجب الاشتراك
الخيارات
أكثر مثل هذا
BASIC questions!
بواسطة
Withateacher
العجلة العشوائية
52
Basic 1 Questions
بواسطة
Mmarevalo
العجلة العشوائية
3
Quiz: Variables
بواسطة
Janimorton
اختبار تنافسي
19
Grade 9- Python If statements
بواسطة
Imranbergi
اختبار تنافسي
3
Question Words 1
بواسطة
Ustazfirdaus
اختبار تنافسي
8
Quiz 01 - Nouns and Pronouns
بواسطة
Esmeraldasanchez
اختبار تنافسي
3
keywords input output statements (print) python
بواسطة
Daniellewis
الجلاد
2
A1. Object Pronouns : Quiz
بواسطة
Teachersimo
اختبار تنافسي
4
تبديل القالب
إظهار الكل
فتح النتائج
نسخ الرابط
رمز الاستجابة السريعة
حذف
استعادة الحفظ التلقائي:
؟