Parcial 1 Programación en Java

Quiz
•
Computers
•
12th Grade
•
Medium
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
Similar Resources on Wayground
30 questions
AP Computer Science A

Quiz
•
11th - 12th Grade
25 questions
AP CSP Exam Reference Sheet Practie

Quiz
•
12th Grade
30 questions
REVISÃO PYTHON

Quiz
•
9th - 12th Grade
25 questions
JavaScript Console & Graphics Review

Quiz
•
9th - 12th Grade
25 questions
Chapter 2 Review

Quiz
•
10th - 12th Grade
27 questions
Java basic test

Quiz
•
12th Grade
25 questions
SAINS KOMPUTER TINGKATAN 4 - 1.6 STRUKTUR DATA DAN MODULAR

Quiz
•
7th - 12th Grade
24 questions
cuestionario programación java

Quiz
•
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