option
Questions
ayuda
daypo
search.php

Assessments for Programming and Artificial Intelligence - Practical - 2025

COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
Assessments for Programming and Artificial Intelligence - Practical - 2025

Description:
General Education (First Secondary Grade) First Semester of the 2025/2026 Academ

Creation Date: 2025/12/19

Category: Others

Number of questions: 77

Rating:(0)
Share the Test:
Nuevo ComentarioNuevo Comentario
New Comment
NO RECORDS
Content:

Select the correct program to output "Hello" to the console. log.console("Hello");. consolelog("Hello"). console.log("Hello");. console.logHello;.

Create a program as follows. (1) Output "Good morning" to the console. Text copy: Good morning.

Create a program as follows. (1) Output "Programming" to the console Text copy : Programming.

Create a program as follows. (1) Output "Hello" to the console. Text copy : Hello.

Please select the correct way to write your comment. Write your comments here.//. //Write your comments here. /Write your comments here./. /Write your comments here.

Select the correct program to output the calculation results of "50+100" to the console. console.log("50 + 100");. console.log(50 + 100);. console.log(50" + "100);. console.log("50" + "100");.

Select the correct symbol for the division used in the program. -. *. /. ÷.

Let the computer calculate "19+40" and output the calculation results to the console.

Let the computer calculate "7-2" and output the calculation results to the console.

Let the computer calculate "15 divided by 5" and output the calculation results to the console.

Select the correct program to output "Today is the 17th.7 days ago was the 10th." to the console. console.log("Today is the 17th.7 days ago was the (17 - 7)th.");. console.log("Today is the 17th.7 days ago was the " + "17 - 7" + "th.");. console.log("Today is the 17th.7 days ago was the " + (17 - 7) + "th.");. console.log("Today is the 17th.7 days ago was the + 17 - 7 + th.");.

Let the computer calculate "2*5" and output "The answer is 10." to the console.

Select the correct program to declare the variable score. score let;. score;. let score;. score =;.

Select the correct program to output the value of the variable score to the console. The variable score has already been declared and assigned. console.log(score);. console.log score;. console.log("score");. console.log = score;.

Create your program as follows. (1) Declare the variable number *If you press "Run Code", there is no output to the console. Therefore, after declaring, click "Answer".

Select the correct program to output "Hello" to the console. console.log("Hello");. console.logHello;. log.console("Hello");. consolelog("Hello").

Output "Hello" to the console. Text copy : Hello.

Select the correct program that will let the computer calculate "5+7" and output the calculation results to the console. console.log("5 + 7");. console.log(5" + "7);. console.log(5 + 7);. console.log("5" + "7");.

Select the correct symbol for multiplication used in the program. -. /. *. +.

Let the computer calculate "3*5" and output "The answer is 15." to the console.

Select the correct declaration for the variable number. number let;. let number;. let = number;. number;.

Select a program that says, "If ~, then ________.". (conditional){processing} if. if (conditional){processing}. (conditional) if {processing}. if {processing}(conditional).

Select the conditional expression "the value of the variable num is equal to 50". 50 >= num. num == 50. 50 = num. num = 50.

Please select the output result of the following program. let num = 200; console.log(num == 100);. 100. false. true. num.

Select a program that says if ~ then do A, otherwise do B. if (conditional) else{B} {A}. else{B} if (conditional){A}. if (conditional){A} else{B}. else (conditional){A} if {B}.

Select a program with the conditional expression "the value of the variable num is less than or equal to 80". num < 80. num > 80. num <= 80. num == 80.

Select a program with the condition "the value of the variable num is greater than 30". num < 30. num == 30. num >= 30. num > 30.

Choose a program that says, "If ~, do A; if not, do B.". if (conditional){A}{B} else if (conditional). if (conditional) (conditional) else if {A}{B}. if (conditional){A} else if (conditional){B}. if (conditional){A} else if {B}.

Please select the output result of the following program. let score = 62; if (score == 100){console.log("Perfect score");} else if (score >= 80){console.log("So close");} else if (score >= 60){console.log("Pass");}. Pass. So close. Perfect score. No output.

Please select the output result of the following program. let num = 10; console.log(num == 10);. 100. true. 10. false.

Select a program with the conditional expression "the value of the variable num is less than 20". num >= 20. num == 20. num < 20. num <= 20.

Please select the output result of the following program. let score = 92; if (score == 100){console.log("Perfect score");} else if (score >= 80){console.log("So close");} else if (score >= 60){console.log("Pass");}. Perfect score. Pass. So close. No output.

Select a program that means "A and B". A || B. A // B. A && B. A & B.

Select the program that means "A or B". A < B. A && B. A || B. A == B.

Please select the output result when executing the following program. let age = 20; if (age <= 18 || age >= 60){console.log("20% OFF");} else{console.log("Regular Price");}. No output. Error. 20% OFF. Regular Price.

Select the first thing you would write in a program that represents "outputting the word "apple" to the console 10 times over. let. if. for. num.

Select the correct program to add 1 to variable i. i++. i++1. 1+1. i+.

Please select the correct answer for the program that repeats the specified process 10 times. for (i<10; let i=0; i++) {  Specified process }. for (let i=0; i++; i<10) {  Specified process }. for (let i=0; i<10; i++) {  Specified process }. for {Specified process} (  let i=0; i<10; i++ ).

Select the program that means "A or B". A < B. A == B. A && B. A || B.

Please select the output result of running the program less than or equal to let num = 9; if (num <= 3 || num >= 7) {console.log("A");} else{console.log("B");}. A. No output. B. 9.

Select the correct program to add 1 to variable i. i+. i++1. 1+1. i++.

Select the correct answer for the program that repeats the specified processing 10 times. for (i<10; let i=0; i++) {  Specified process }. for (let i=0; i++; i<10) {  Specified process }. for (let i=0; i<10; i++) {  Specified process }. for { Specified process } (  let i=0; i<10; i++ ).

Please select the output result of running the program less than or equal to for (let i = 0; i < 2; i++) { console.log("Hello"); };. Hello. Hello Hello Hello. Hello Hello. No output.

Select the correct program to create a function whose function name is calc and argument name is num. function (num) calc {   processing }. (num)function calc{   processing }. (num)calc function {   processing }. function calc(num) {   processing }.

Select the correct function to round off. Math.round(1.8). round(1.8). round.Math(1.8). Math.roundoff(1.8).

Please select the output results of the following program that you have executed. console.log(Math.max(20,40,60));. 20. 60. 40. 120.

Please select the correct answer to be displayed in the console as a result of executing the following program. function calc(num) { let result = num * 3; return result; } } console.log(calc(5));. 15. 5. 3. 0.

Select the correct program to output random numerical values. console.log(Math.max());. console.log(Math.min());. console.log(random());. console.log(random());.

Select the correct function to truncate decimals. console.log(Math.min(10.5));. console.log(Math.round(10.5));. console.log(Math.max(10.5));. console.log(Math.floor(10.5));.

Select the output results of the following program. console.log(Math.floor(7.7));. 8. No output. 7. 6.

Create a program that returns a random integer as follows. (1) Use the function "Math.random" to return a random numerical value. (2) Multiply the randomly returned numerical value by 10. (3) Use the function "Math.floor" to return an integer. *The program is one line.

Select the correct function to round off. Math.round(1.8). round(1.8). Math.roundoff(1.8). round.Math(1.8).

Select the output result of running the following program. console.log(Math.max(10,50,100));. 160. 50. 10. 100.

Select the correct program to output random numerical values. console.log(Math.random());. console.log(Math.max());. console.log(random());. console.log(Math.min());.

Select the output results of the following program. console.log(Math.floor(12.8));. 13. 12. 11. No output.

Create a program that returns a random integer as follows. (1) Use the function Math.random to return a random numerical value. (2) Multiply the randomly returned numerical value by 10. (3) Use the function Math.floor to return an integer. *The program is one line.

Select the correct program to create a function whose function name is sum and argument name is num. function sum(num) {   processing }. (num)function sum{   processing }. (num)sum function {   processing }. function (num) sum {   processing }.

Select the correct data type below. console.log("50+30");. Numerical value. No particular data type. String.

Select the correct program that outputs "string". console.log(typeof 1);. console.log(typeof "1");. console.log(string "1");. console.log(Number "1");.

Select the output results of the following program. console.log(100 === 500);. false. true. string. numerical value.

Select the output results of the following program. console.log(Number("Hello"));. number. NaN. false. true.

Create your program as follows. (1) Determine the data type of "7" in the computer and output to the console.

Put the following values in the array. 5, 10, 15 *Nothing will be output when executed.

Select the output result of executing the following program. let num = [5, 10, 15, 20, 25]; console.log(num[2]);. 20. 10. 15. 2.

Select the output result of executing the following program. let num = [1, 2, 3]; let sum = 0; for (let i = 0; i < 3; i++) { sum = sum + num[i]; } console.log(sum);. 2. 1. 3. 6.

Select the correct data type below. console.log("11");. No particular type. String. Numerical value.

Select the correct program that outputs "string". console.log(typeof "50");. console.log(Number "50");. console.log(String "50");. console.log(typeof 50);.

Select the output results of the following program. console.log(200 === 20);. true. string. number. false.

Select the output results of the following program. console.log(Number("value"));. NaN. false. number. true.

Create your program as follows. (1) Computer determines the data type 100 and outputs it to the console.

Put the following values in the array. 10, 50, 100, 150 *Nothing will be output when executed.

Select the output result of executing the following program. let num = [5, 10, 15, 20, 25]; console.log(num[3]);. 15. 10. 20. 5.

Select the output result of executing the following program. let num = [2, 4, 6]; let sum = 0; for (let i = 0; i < 3; i++) { sum = sum + num[i]; } console.log(sum);. 12. 2. 4. 6.

Create your program less than or equal to (1) Output "Hello" to the console 5 times. *Variable name is i and assign 0 at the beginning. *Use the increment operator.

Create your program less than or equal to (1) Output "Hello" to the console 7 times. *Variable name is i and assign 0 at the beginning. Use the increment operator. Text copy : Hello.

Create your program less than or equal to (1) Output "Good morning" 10 times to the console. *Variable name is i and assign 0 at the beginning. Use the increment operator. Text copy : Good morning.

Create your program less than or equal to (1) Output "Hello" three times to the console. *Variable name is i and assign 0 at the beginning. Use the increment operator.

Report abuse