Definitionen von Fachbegriffen

Descrição

Sprache : Englisch
Daria S.
FlashCards por Daria S., atualizado more than 1 year ago
Daria S.
Criado por Daria S. mais de 6 anos atrás
3
0

Resumo de Recurso

Questão Responda
Software Engineering Well-written code that can be understood and edited by others for maintenance that includes a clear code and good comments
Compiler vs Interpreter Compiler translates code in machine code Interpreter translates into intermediate language
Term Everything that can either hold or produce a value (variable, method, constant, paranthesized expression)
Assigment Assigns a value: The variable on the left will become whatever value is represented on the right
expression statements Expression: Everything with an operator and operands Expression statement: Add a semicolon to the end of the expression
Scope The visibility of the variable. local variables are only visible inside the block statement they were declared in.
Dangling Else Problem When encapsulating of if statements without breakets, it leaves confusion which else belongs to which if clause
Method A sequence of statements that are inside a blockstatement and have a name to be able to call it. May need parameters and may return something. Defined for a class.
4 things the class body contains Methods, constructer, instance variables, constants
lokal variables instance variables class variables 1. local to the method 2. associated with the object 3. associated with class
Was bedeuten &, |, ~ , ˆ für Integers? This are bitwise operations: bitwise AND bitwise OR NOT XOR
recrusion A method using itself to solve a problem
Character arithmetic Character in Unicode representation
Debugging Strategie Debugger, Unit test, assertions, println
Exception handling With the try/ catch block
Difference between an object and class Class: A collection on methods and a constructor to create objects, which are instances of the class
Array declaration type[] identifier = new type[ length ];
Properties of an array Homogenous (all elements have to have the same type of data) and ordered
Regions of memory Stack: local variables, references to the heap, parameter Heap: Objects, instance variables static: static data, program code, constants
Expression evaluation 1. Precedence 2. Associativity 3. Direction (Left to right)
MVC Pattern Model, View, Contoller: The User inputs data through the Controller and seees output through View.
Assertion use Only for programmer not for user input. Exceptions control user input
Java Collections Framework 3 data structures 1. Lists 2. Sets 3. Maps
Programming errors Syntax and Bugs
Class hierarchy You can extend a superclass. The subclass inherrites all the methods and constructors from its superclass

Semelhante

ein kleines Informatik Quiz
AntonS
Informatik
Tom Kühling
PHP Grundlagen
chrisi.0605
Wirtschaftsinformatik Teil 2
Sabrina Heckler
Informatik 1 - Einführung
Svenja
Codierung
Tom Kühling
Wirtschaftsinformatik Teil 1
Sabrina Heckler
Einführung in das Studium Informatik
Daniel Doe
Lernplan
Sandra K
Infromatik Basiswissen
Simon Hefti