• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 4 fuera de 31 páginas
Examen

CSE 3901 EXAM PREP QUESTIONS AND ANSWERS 2026 STUDY GUIDE

Document preview thumbnail
Vista previa 4 fuera de 31 páginas

CSE 3901 EXAM PREP QUESTIONS AND ANSWERS 2026 STUDY GUIDE

Vista previa del contenido

CSE 3901 EXAM PREP QUESTIONS AND
ANSWERS 2026 STUDY GUIDE



◉ the project itself. Answer: github: what is a working tree?


◉ hidden directory (.git) in root directory of working tree


User never accesses .git directly


Store records project development history. Answer: github: what is a
store?


◉ DAG of commits
Each commit represents a complete snapshot of the entire project.
Answer: github: what is history?


◉ virtual snapshot stored in .git/index. Answer: github: what is an
index?


◉ a pointer to a commit. Answer: github: what is a branch?

,◉ git branch nameOfBranch. Answer: github: command to create a new
branch


◉ git checkout fix. Answer: github: change to branch titled 'fix'


◉ git add --all .
git commit. Answer: github: add and commit changes to local store


◉ http://web.cse.ohio-state.edu/~giles/3901/lectures/lecture02.pdf.
Answer: github: problem on slide 42 http://web.cse.ohio-
state.edu/~giles/3901/lectures/lecture02.pdf


◉ 0, 1, 2, 3, 4. Answer: ruby: what is the following range 0..4


◉ 0, 1, 2, 3. Answer: ruby: what is the following range 0...4


◉ Returns -1/0/1 if LHS is smaller/equal/larger than RHS. Answer:
ruby: what does the <=> operator do?


◉ -1. Answer: ruby: what does "cab" <=> "da" return?


◉ 1. Answer: ruby: what does "cab" <=> "ba" return?

,◉ i = 34, j = 35. Answer: i = 34
j = i # i and j are aliases
j = j + 1 # does this increment i too?
what is the value of i and j?


◉ prints 0 to 24. Answer: what does the following statement do?
i = 10
25.times { | i | puts i }


◉ "tania".length. Answer: ruby: write a statement that returns the length
of your name


◉ "exam".reverse. Answer: ruby: write a statement that reverses the
word "exam"


◉ puts "Tania".upcase. Answer: ruby: write a statement that prints
"Tania" in uppercase


◉ puts "Tania".downcase. Answer: ruby: write a statement that prints
"Tania" in lowercase


◉ puts "What is your first name?"
name = gets.chomp

, puts "Your first name is #{name.capitalize!}". Answer: ruby: write a
statement that asks for the users first name and prints the result in the
following format: Your first name is (name). The name should be
capitalized


◉ for i in 1..20
next if i % 2 != 0
puts i
end. Answer: ruby: write a for loop that prints all even numbers between
1 and 20


◉ num = 1
until num > 10
puts num
num += 1
end. Answer: ruby: write a looping using until that prints numbers 1 to
20


◉ Start of method
In the block
In the block
End of method. Answer: What does the following code output?
def call_block

Información del documento

Subido en
8 de enero de 2026
Número de páginas
31
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$12.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
FocusFile7
4.0
(27)
Vendido
268
Seguidores
4
Artículos
72087
Última venta
1 día hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes