
Test 40
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Mariusz R
Used 2+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Metoda zachłanna konstruowania algorytmów polega na
podziale problemu na podproblemy w celu uzyskania problemów łatwych do rozwiązania.
wybieraniu rozwiązań, które w danym kroku wydają się najkorzystniejsze
przeszukiwaniu zbioru danych aż do momentu znalezienia rozwiązania.
odwołaniu się funkcji lub definicji do samej siebie.
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Jaką złożoność obliczeniową mają problemy polegające na wykonaniu czynności na łańcuchu lub tabeli w dwóch zagnieżdżonych pętlach działających na wszystkich elementach?
O(n)
O(n2)
O(n!)
O(log n)
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Skrypt JavaScript obsługujący płace pracowników ma za zadanie wygenerować raport dla pracowników, którzy są zatrudnieni na umowę o pracę oraz zarabiają w przedziale obustronnie domkniętym od 4000 do 4500 zł. Wskaż warunek wygenerowania raportu.
umowa == 'praca' && (pensja >= 4000 && pensja <= 4500)
umowa == 'praca' || (pensja >= 4000 || pensja <= 4500)
umowa == 'praca' && (pensja >= 4000 || pensja <= 4500)
umowa == 'praca' || (pensja >= 4000 && pensja <= 4500)
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x = 0;
x += 10;
Który zapis w języku JavaScript daje jednakowy rezultat do przedstawionego kodu?
x = 0; x++; x = x + 9;
x = 0; x--; x *= 9;
x = 10; x = x + 10;
x = 10; x = 0;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
$zmienna1 = 15;
$zmienna2 = "15";
$zmienna3 = (string) $zmienna1;
Na podstawie przypisania wartości do zmiennych zapisanych w języku PHP można stwierdzić, że
zmienna1 i zmienna2 są tych samych typów
zmienna1 i zmienna3 są tych samych typów.
zmienna2 i zmienna3 są tych samych typów.
wszystkie zmienne są tych samych typów.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
$x = 59.85;
var_dump($x);
Funkcja PHP var_dump() wyświetla informację na temat zmiennej: jej typ i wartość. Wynikiem dla przedstawionego fragmentu kodu jest
int(59)
float(59.85)
string(5) "59.85"
array(2) { [0]=> int(59) [1]=> int(85) }
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Które wywołanie funkcji PHP round() zwróci wartość 1?
round(0.29)
round(0.60)
round(-1.40)
round(-4.60)
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
đề cương tin học cuối kì 2 (11)
Quiz
•
11th Grade
44 questions
Modulo13 - Técnicas de Modulação de Dados
Quiz
•
9th - 12th Grade
40 questions
EE.08-SG-23.01
Quiz
•
9th - 12th Grade
41 questions
Computer Science 22/23
Quiz
•
8th - 11th Grade
40 questions
ข้อสอบปลายภาควิชาการออกแบบสิ่งพิมพ์
Quiz
•
10th Grade - University
42 questions
Quis US kelas IX
Quiz
•
9th Grade - University
36 questions
Internet segura
Quiz
•
7th - 12th Grade
35 questions
Složky, Soubory, Komprese
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University
