Evaluare-metode PROGRAMARE JAVA DISTRACTIVĂ

Quiz
•
Computers
•
10th Grade
•
Hard
Eugenia Covali
Used 4+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Layout-ul utilizat pentru a amplasa componentele vizuale pe pozițiile: sus, jos, stânga, dreapta, centru
BorderPane
AnchorPane
VBox
Toate sunt corecte
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Selectați doar componentele vizuale(componente de control) din librăria JavaFX
Button
AnchorPane
Scenee
TextField
Label
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
În JavaFX există mai multe tipuri de panouri pentru a grupa și aranja componentele vizuale. Selectează din lista de mai jos doar denumiri de panouri:
Button
AnchorPane
Scenee
HBox
StackPane
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Pentru ca un program JavaFX să deseneze o linie, cerc, pătrat sau o oricare altă figură avem nevoie de cel puțin două lucruri:
O pânză pe care să deseneze
AnchorPane
Un obiect de tipul Stage - fereastra în care se pornește aplicația, care va fi asemenea suportului pe care se pune „pânza”
Un suport pe care să se pună pânza sau o „suprafață de lucru”
Un obiect de tip Scene - ca să putem afișa ceva într-o fereastră ( Stage ) avem nevoie de o scenă
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pentru a desena un obiect de tip dreptunghi în Java FX, vom crea un obiect în felul următor:
Rectangle dreptunghi = new Rectangle();
Rectangle dreptunghi;
dreptunghi Rectangle = Rectangle() new;
Toate răspunsurile sunt corecte
Un obiect de tip Scene - ca să putem afișa ceva într-o fereastră ( Stage ) avem nevoie de o scenă
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analizați metoda și selectați parametrii metodei.
public void deseneazaDreptunghi(AnchorPane panou, int height, int width, int x, int y, Color culoare) {
Rectangle rectangle = new Rectangle();
rectangle.setHeight(height);
rectangle.setWidth(width);
rectangle.setLayoutX(x);
rectangle.setLayoutY(y);
rectangle.setFill(culoare);
panou.getChildren().add(rectangle);
}
deseneazaDreptunghi
rectangle.setHeight(height);
rectangle.setWidth(width);
rectangle.setLayoutX(x);
rectangle.setLayoutY(y);
rectangle.setFill(culoare);
AnchorPane panou, int height, int width, int x, int y, Color culoare
panou.getChildren().add(rectangle);
Metoda nu are parametri
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analizați metoda și selectați numele metodei.
public void deseneazaDreptunghi(AnchorPane panou, int height, int width, int x, int y, Color culoare) {
Rectangle rectangle = new Rectangle();
rectangle.setHeight(height);
rectangle.setWidth(width);
rectangle.setLayoutX(x);
rectangle.setLayoutY(y);
rectangle.setFill(culoare);
panou.getChildren().add(rectangle);
}
deseneazaDreptunghi
rectangle.setHeight(height)
Rectangle rectangle = new Rectangle();
panou.getChildren().add(rectangle);
setHeight
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Intro to Java Loops

Quiz
•
9th - 12th Grade
15 questions
Графика в C++

Quiz
•
7th - 10th Grade
17 questions
Python Conditionals

Quiz
•
9th - 11th Grade
12 questions
C++ References

Quiz
•
6th - 12th Grade
15 questions
JavaScript and Graphics

Quiz
•
9th - 12th Grade
20 questions
Basic Python

Quiz
•
10th - 12th Grade
20 questions
Python (The Basics)

Quiz
•
6th - 10th Grade
11 questions
CodeHS 5.3 Using Arrays

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade