CS 1337 Test 1
🇬🇧
In Inglés
In Inglés
Practique preguntas conocidas
Manténgase al día con sus preguntas pendientes
Completa 5 preguntas para habilitar la práctica
Exámenes
Examen: pon a prueba tus habilidades
Course needs 15 questions
Aprenda nuevas preguntas
Modos dinámicos
InteligenteMezcla inteligente de todos los modos
PersonalizadoUtilice la configuración para ponderar los modos dinámicos
Modo manual [beta]
El propietario del curso no ha habilitado el modo manual
Otros modos disponibles
CS 1337 Test 1 - Marcador
CS 1337 Test 1 - Detalles
Niveles:
Preguntas:
14 preguntas
🇬🇧 | 🇬🇧 |
What is compiled | The process of translating the program to assembly |
What is interpretation | You see the code changes instantly |
What is execution | Its compiled then interpreted line by line |
What is jvm | The virtual machine that translates java line by line |
3 errors in code | Syntax, run time, logic |
What is pseudocode | A simplified version of code that you can write an algorithm in, used for planning |
What are the four different ways that the flow of control can progress through a program? Explain each one | Selection, repetition, method call, sequence |
What are the characteristics of a high-level language. | It looks like english and is easy to read |
How does an object class encapsulate data? | Makes fields private |
What is the purpose of mutator methods? setters | They changer the value of the fields |
What is the purpose on constructors? getters | They define how to create an object |
What are the naming rules? | Same name as class no return type |
What is an accessor method | Getters, get a field value. getBleh |
How to write a mutator (setter) | Public void setNumber(String number){ this.number = number; } public void setMaxOccupancy(int max){ if(max >= 25 && max <= 600) this.maxOccupancy = max; else }. this.maxOccupancy = 25; |