Search Header Logo

Программалау сұрақтары

Authored by Малика Палуанова

Others

University

Программалау сұрақтары
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

37 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Қай код дұрыс for циклін көрсетеді?

for (int x = 1; x <= 10; x++ ) { System.out.print(x); }

for (int x =! 0; x < 10; x **) { System.out.print(x); }

for (int x != 10; x > 0; x--) { System.out.print(x); }

Барлығы дұрыс.

while

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Төмендегі кодтың нәтижесі қандай?

1 2 3 4

1 2 3 4 5

1 2 3 4 5 6 7 8 9 10

Қате.

1 2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Қандай цикл кері санақ жүргізеді?

for (int i = 10; i >= 0; i--) { System.out.print(i); }

for (int i = 0; i < 10; i--) { System.out.print(i); }

for (int i = 10; i > 0; i++) { System.out.print(i); }

Барлығы дұрыс.

while

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Бір өлшемді массивті қалай анықтаймыз?

int[] array = new int[5];

int array = new int[5];

int array = {1, 2, 3};

array[] = int[5];

int arr

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Төмендегі кодтың нәтижесі қандай?

30 санын басып шығарады.

10 санын басып шығарады.

20 санын басып шығарады.

Қате шығарады.

50 санын басып шығарады.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Массивтің ұзындығын қалай аламыз?

arr.length

arr.size()

arr.getLength()

arr.len

arr.l

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Массивтің соңғы элементіне қалай қол жеткіземіз?

arr[arr.length – 1]

arr[length]

arr[last]

arr[arr.length]

arr

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?