In [i]GeoGebra[/i], a [i]Check Box[/i] is the graphical representation of a Boolean variable. It can either be [i]true [/i]or [i]false[/i],[i] [/i]which can be set by checking (Boolean variable = [i]true[/i]) or unchecking (Boolean variable = [i]false[/i]) the checkbox.
Create an applet to drag six points A, B, C, D, E, F and assign them to the correct coordinates which are shown on the right side of the applet by using a [i]Check Box[/i] and dynamic texts. In the applet below you can see six points A, B, C, D, E and F. Drag them to the right position and explore the construction.
[table][tr][td][size=100]1.[/size][/td][td][size=100][icon]/images/ggb/toolbar/mode_point.png[/icon][/size][/td][td][size=100]Create the points [i]A, B, C, D, E[/i] and [i]F [/i] with the [i]Point[/i] tool.[br][/size][/td][/tr][tr][td][size=100]2.[/size][/td][td][size=100][img]https://wiki.geogebra.org/uploads/thumb/d/db/Stylingbar_icon_graphics.svg/32px-Stylingbar_icon_graphics.svg.png[/img][/size][/td][td][b]Hint:[/b] Change color and style of the points using the [size=100][i]Style Bar[/i][/size].[br][/td][/tr][tr][td][size=100]3.[/size][/td][td][size=100][icon]https://wiki.geogebra.org/uploads/thumb/4/40/Menu_view_algebra.svg/180px-Menu_view_algebra.svg.png[/icon][/size][/td][td]Create six points using random numbers. Enter [br][code]RP_1 = (RandomBetween(0, 9), RandomBetween(0, 9))[br][/code], [br][code]RP_2 = (RandomBetween(0, 9), RandomBetween(0, 9))[/code], [br][code]RP_3 = (RandomBetween(0, 9), RandomBetween(0, 9))[/code], [br][code]RP_4 = (RandomBetween(0, 9), RandomBetween(0, 9))[/code], [br][code]RP_5 = (RandomBetween(0, 9), RandomBetween(0, 9))[/code], [br][code]RP_6 = (RandomBetween(0, 9), RandomBetween(0, 9))[/code].[br][/td][/tr][tr][td][size=100]4.[/size][/td][td][size=100][icon]/images/ggb/toolbar/mode_text.png[/icon][/size][/td][td][size=100][size=100]Insert dynamic [i]text1[/i]:[/size] [br]A RP_1 [br]B RP_2[br]C RP_3[br]D RP_4[br]E RP_5[br]F RP_6[br][b]Hint: [/b]The letters A, B, C, D, E and F should be static text. Then c[size=100]lick on [i]Advanced[/i] and select tab [img]https://wiki.geogebra.org/uploads/thumb/4/4e/Geogebra-logo-elipse.svg/16px-Geogebra-logo-elipse.svg.png[/img] [i]Objects[/i]. From the list of available objects, select the[i] [/i]points [i]RP_1 [/i]to [i]RP_6[/i].[/size][/size][/td][/tr][tr][td][size=100]5.[/size][/td][td][size=100][icon]/images/ggb/toolbar/mode_move.png[/icon][/size][/td][td][size=100]Move the text to the desired position.[br][/size][/td][/tr][tr][td][size=100]6.[/size][/td][td][size=100][icon]https://wiki.geogebra.org/uploads/thumb/0/05/Stylingbar_object_fixed.svg/32px-Stylingbar_object_fixed.svg.png[/icon][/size][/td][td][size=100]You might want to fix the text using the [img]https://wiki.geogebra.org/uploads/thumb/3/30/Menu-options.svg/16px-Menu-options.svg.png[/img] [i]Settings[/i] so it cannot be moved accidentally.[/size][/td][/tr][tr][td][size=100]7.[/size][/td][td][size=100][icon]/images/ggb/toolbar/mode_showcheckbox.png[/icon][/size][/td][td][size=100]Select the [i]Check Box[/i] tool and click in the [img]https://wiki.geogebra.org/uploads/thumb/c/c8/Menu_view_graphics.svg/16px-Menu_view_graphics.svg.png[/img] [i]Graphics View[/i] to open the [i]Check Box Dialog[/i]. Insert a [i]Check Box[/i] with the Caption[i] [/i][code]Help [/code]to show / hide the points [i]RP_1, RP_2, RP_3, RP_4, RP_5, RP_6[/i] by selecting them from the drop down menu below the [i]Caption [/i]text field.[br][/size][/td][/tr][tr][td][size=100]8.[/size][/td][td][size=100][icon]/images/ggb/toolbar/mode_text.png[/icon][/size][/td][td]Insert static text2: [code]Right! [/code][br][b]Hint: [/b][size=100]Open the [img]https://wiki.geogebra.org/uploads/thumb/3/30/Menu-options.svg/16px-Menu-options.svg.png[/img] [i]Settings[/i], select tab [i]Position[/i] and enter [i]A [/i]for the [i]Starting Point[/i]. [br][/size][/td][/tr][tr][td][size=100]9.[/size][/td][td][size=100][icon]https://wiki.geogebra.org/uploads/thumb/3/30/Menu-options.svg/120px-Menu-options.svg.png[/icon][/size][/td][td][size=100]Open the [size=100][i]Settings[/i][/size] for text elements using tab [i]Advanced[/i] and enter the [i]Condition to Show Object[/i]: [code]x(A) ≟ x(RP_1) ∧ y(A) ≟ y(RP_1) [/code][br]This means, that text2 is only shown if the x- and y-coordinate of [i]A [/i]are equal to the coordinates of [i]RP_1[/i]. [br][/size][/td][/tr][tr][td][size=100]10.[/size][/td][td][size=100][size=100][size=100][/size][/size][/size][/td][td][b]Hint: [/b]Activate the [img]https://wiki.geogebra.org/uploads/thumb/c/ce/Baseline-keyboard-24px.svg/24px-Baseline-keyboard-24px.svg.png[/img] [i]Virtual [/i][code][/code][i]ABC[/i] [i]K[/i][i]eyboard [/i]and select [math]#\&\neg[/math] to insert logic operators like [math]\wedge[/math].[/td][/tr][tr][td][size=100]11.[/size][/td][td][size=100][size=100][size=100][/size][/size][/size][/td][td]Repeat Step 8 to 10 with the points [i]B, C, D, E[/i] and [i]F[/i]. [br][/td][/tr][tr][td][size=100]12.[/size][/td][td][size=100][size=100][img]https://wiki.geogebra.org/uploads/thumb/d/db/Stylingbar_icon_graphics.svg/32px-Stylingbar_icon_graphics.svg.png[/img][/size][size=100][size=100][/size][/size][/size][/td][td]Enhance your construction using the [i]Style Bar[/i].[br][/td][/tr][/table]