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

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

8th Grade

22 Qs

quiz-placeholder

Similar activities

UH 3 PEMROGRAMAN DASAR

UH 3 PEMROGRAMAN DASAR

1st Grade - University

20 Qs

MS Word Know How

MS Word Know How

5th - 12th Grade

20 Qs

ULANGAN HARIAN 2 INFORMATIKA KELAS 8

ULANGAN HARIAN 2 INFORMATIKA KELAS 8

8th Grade

20 Qs

ASTS Kelas 7 "Ms. Excel"

ASTS Kelas 7 "Ms. Excel"

7th Grade - University

20 Qs

Semester 1- Exploration of Robotics (Units 1-4)

Semester 1- Exploration of Robotics (Units 1-4)

7th - 8th Grade

20 Qs

1st Nine Weeks Exam

1st Nine Weeks Exam

8th Grade

20 Qs

Rješavanje problema i programiranje

Rješavanje problema i programiranje

8th Grade

20 Qs

Year 8 Lists

Year 8 Lists

8th Grade

20 Qs

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

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

Assessment

Quiz

Computers

8th Grade

Practice Problem

Hard

Created by

Gayane Hayrapetyan

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

Already have an account?