Definitionen von Fachbegriffen

Description

Sprache : Englisch
Daria S.
Flashcards by Daria S., updated more than 1 year ago
Daria S.
Created by Daria S. over 6 years ago
3
0

Resource summary

Question Answer
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
Show full summary Hide full summary

Similar

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
Datenstrukturen
Ann-Kathrine Buchmakowsky