Parcial 1 Programación en Java

Parcial 1 Programación en Java

12th Grade

29 Qs

quiz-placeholder

Similar activities

CS API Test

CS API Test

12th Grade

27 Qs

AP Computer Science Unit 2

AP Computer Science Unit 2

11th - 12th Grade

26 Qs

Data Types and Operators

Data Types and Operators

9th - 12th Grade

26 Qs

Javascript Final Review

Javascript Final Review

9th - 12th Grade

25 Qs

AP CSA Unit Review

AP CSA Unit Review

11th - 12th Grade

25 Qs

J2 - Review for Exam- Loops and if Statements

J2 - Review for Exam- Loops and if Statements

9th - 12th Grade

27 Qs

Multidimensional Arrays (Review)

Multidimensional Arrays (Review)

10th - 12th Grade

25 Qs

[Retake] Intro to Programming with JavaScript

[Retake] Intro to Programming with JavaScript

11th - 12th Grade

30 Qs

Parcial 1 Programación en Java

Parcial 1 Programación en Java

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Prof. Porras

Used 79+ times

FREE Resource

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la sintaxis correcta para generar "Hello World" en Java?

echo("Hello World");

Console.WriteLine("Hello World");

print("Helo World");

System.out.println("Hello World");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se insertan COMENTARIOS en el código Java?

# This is a comment

//This is a comment

/* This is a comment

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué tipo de datos se usa para crear una variable que debería almacenar texto?

Txt

myString

string

String

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se crea una variable con el valor numérico 5?

x = 5;

float x = 5;

int x = 5;

num x = 5;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cómo se crea una variable con el número flotante 2.8?

byte x = 2.8f

int x = 2.8f;

x = 2.8f

float x = 2.8f

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué método se puede utilizar para encontrar la longitud de una cadena?

getLength()

length()

getSize()

len()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué operador se usa para sumar dos valores?

&

*

+

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?