8 դաս for while ցիկլեր

8 դաս for while ցիկլեր

8th Grade

22 Qs

quiz-placeholder

Similar activities

Keyboard

Keyboard

3rd - 8th Grade

20 Qs

Microsoft Excel 2016

Microsoft Excel 2016

7th - 8th Grade

25 Qs

Kiến thức về trang tính

Kiến thức về trang tính

7th Grade - University

17 Qs

ASK T2-MENGESAN DAN MEMBAIKI RALAT DALAM SEGMEN KOD

ASK T2-MENGESAN DAN MEMBAIKI RALAT DALAM SEGMEN KOD

8th Grade

20 Qs

Computer Equipment

Computer Equipment

7th - 8th Grade

20 Qs

technology (Computer)

technology (Computer)

3rd Grade - University

20 Qs

Checkpoint 1 Revision

Checkpoint 1 Revision

8th Grade

20 Qs

Python-ICT

Python-ICT

8th Grade

20 Qs

8 դաս for while ցիկլեր

8 դաս for while ցիկլեր

Assessment

Quiz

Computers

8th Grade

Hard

Created by

Gayane Hayrapetyan

Used 3+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Ինչի՞ համար է օգտագործվում for ցիկլը Python-ում։

  • Փոփոխականներ հայտարարգելու համար

  • Միայն մեկ անգամ գործողություն կատարելու համար

  • Միայն երկու պայմանների համեմատության համար

  • Միևնույն գործողությունը բազմիցս կատարելու համար

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Ո՞րն է ճիշտ for ցիկլի գրության ձևը Python-ում։

  • for i in range(5): print(i)

  • for (i = 0; i < 5; i++) { print(i); }

  • foreach i in range(5) do print(i)

  • loop i in range(5) print(i)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  • Ի՞նչ կարտածի հետևյալ for ցիկլը:

  • for i in range(2, 7, 2):

    print(i, end=" ")

  • 2 3 4 5 6

  • 2 4 6

  • 2 6

  • Error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Ինչպե՞ս կարելի է ընդհատել while ցիկլի աշխատանքը։

  • continue հրամանի միջոցով

  • break հրամանի միջոցով

  • exit հրամանի միջոցով

  • stop հրամանի միջոցով

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ի՞նչ կլինի հետևյալ while ցիկլի դեպքում:

x = 5 while x > 0: print(x) x -= 1

  • Կարտածի 5 4 3 2 1 և կավարտվի

  • Կարտածի 5 4 3 2 1 0

  • Անվերջ կաշխատի

  • Սխալ կգեներացվի

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ինչի՞ համար է օգտագործվում while ցիկլը։

  • Միևնույն գործողությունը բազմիցս կատարելու համար, քանի դեռ պայմանը ճիշտ է

  • Միայն ֆունկցիաներ հայտարարելու համար

  • Միայն ցուցակների հետ աշխատելու համար

  • Միայն մեկ անգամ գործողություն կատարելու համար

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ո՞րն է ճիշտ while ցիկլի գրության ձևը Python-ում։

  • while x > 0: print(x); x--

  • while (x > 0) { print(x); x--; }

  • while x > 0: print(x); x -= 1

  • while x > 0 { print(x); x -= 1 }

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?