What is the meaning of variable?, Labelled data in a storage box, Labelled storage box used to store data, Storage box that can edit or insert data, Storage box used to store labelled data, Which of the following is the correct way to declare a Python variable ?, greeting == Hello World!, greeting == "Hello World";, greeting = Hello World! :, greeting = "Hello World!", Which one is used to display the value stored in a variable ?, cout >>>, print(), output(), data.out(), Find the meaning for "assigning a value" ..., store a value to a variable, change a value to another value, find error in a value, modify the value with more suitable one, Which of the following is not the naming conventions (rules) in Python ?, Some Python keywords cannot be used, Spaces are not allowed in variable names, Variable names can only contain characters, numbers and underscores, Variables names must start with a number, Choose the correct variable name., ?sweet5, ban@na, bank_account, 123message, Choose the correct statement about comment., The first letter must be capitalised, Comments are made by adding hash (#) in front of the line, No space is allowed in comment, Only one comment is available for each code, Choose the correct syntax for input., lastName = "input()", firstName == "input()", lastName == input, firstName = input(), Where is prompt (message) added to an input?, Inside the bracket, Before the variable name, Between variable name and equal sign, After the bracket, How do we call the window that displays the output?, indentation, Python window, output page, console, What is a string in programming ?, A sequence of characters in between a pair of quotation marks, A block of pre-written code that performs a specific task, A positive or negative whole number without decimal point, A number that has a decimal, If we want to key in "2.5", we will use..., string, integer, float, boolean, Choose the wrong pair., b = 'False' [String], c = True [Boolean], a = 10.3 [integer], x = "5.8" [String], What is capitalize() ?, Remove whitespace from a string, To make the first letter of a string to be capital letter, To convert all the letters into capital letter, Convert a string to a title case, Which one is used to convert one data type to another?, ageStr = str(age), int(x), upper(), count(), What is the meaning of operator?, Special symbols used on variables and values, Normal symbols used on values, Variables used on values, Values in a set of variables, Choose the wrong answer., + Addition, * Multiplication, % Modulus, // Division, Which one shows "4 power of 3" ?, 4 % 3, 4 // 3, 4 * 3, 4 ** 3, Which one helps us to get the remainder for 11 divides 2 ?, 11 % 2, 11 - 2, 11 * 2, 11 // 2, We use assignment operators to ..., modify values in a variable, assign variables to a value, assign values to a variable, modify variables in a value.
0%
Coding Quiz (7) - Python Fundamentals
Udostępnij
Udostępnij
Udostępnij
autor:
Guanjie0807
10-12 years old
Edytuj elementy
Drukuj
Osadź
Więcej
Zadania
Tabela rankingowa
Pokaż więcej
Pokaż mniej
Ta tabela rankingowa jest obecnie prywatna. Kliknij przycisk
Udostępnij
, aby ją upublicznić.
Ta tabela rankingowa została wyłączona przez właściciela materiału.
Ta tabela rankingowa została wyłączona, ponieważ Twoje opcje różnią się od opcji właściciela materiału.
Przywróć poprzednie opcje
Teleturniej
jest szablonem otwartym. Nie generuje wyników w tabeli rankingowej.
Wymagane logowanie
Motyw
Czcionki
Wymagany abonament
Opcje
Zmień szablon
Pokaż wszystko
Więcej formatów pojawi się podczas wykonywania ćwiczenia.
)
Otwórz wyniki
Kopiuj link
Kod QR
Usuń
Przywrócić automatycznie zapisane ćwiczenie:
?