Layout-ul utilizat pentru a amplasa componentele vizuale pe pozițiile: sus, jos, stânga, dreapta, centru
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
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 Quizizz
15 questions
AP Computer Science A Review 1

Quiz
•
10th - 12th Grade
12 questions
Arrays Intro

Quiz
•
9th - 12th Grade
10 questions
Variables and Data Types

Quiz
•
10th - 12th Grade
16 questions
Arithmetic Types Declare Initialize Relation Logical Ops

Quiz
•
9th Grade - University
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
19 questions
Iteracja i rekurencja

Quiz
•
9th - 12th Grade
18 questions
STATIC KEYWORD IN JAVA

Quiz
•
9th - 12th Grade
10 questions
Trắc nghiệm: Bài 18-Các lệnh vào ra đơn giản

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade