Programming Fundamentals at Radboud University | Flashcards & Summaries

Lernmaterialien für Programming fundamentals an der Radboud University

Greife auf kostenlose Karteikarten, Zusammenfassungen, Übungsaufgaben und Altklausuren für deinen Programming fundamentals Kurs an der Radboud University zu.

TESTE DEIN WISSEN

What is important for the writeline method to work?


Lösung anzeigen
TESTE DEIN WISSEN

1. You have to write the message within openening and closing parenthesis (). This is the containter for the information.

2. You have to write everything between double quotes, with the exception of variables and so on.

3. Every output of the writeline method is always in string datatype.

Lösung ausblenden
TESTE DEIN WISSEN

What are namespaces used for?

Lösung anzeigen
TESTE DEIN WISSEN

A namespace is used to organize the classes. Classes are in a given namespace and in a namespace a name for a class can only be used once.

Lösung ausblenden
TESTE DEIN WISSEN

What does the static keyword do?

Lösung anzeigen
TESTE DEIN WISSEN

Static is a modifier keyword that declares that the method belongs to the program class and not an object of the program class.

Lösung ausblenden
TESTE DEIN WISSEN

What is the main method?

Lösung anzeigen
TESTE DEIN WISSEN

This method provides an entry point for the application created. When you run a program, the main method runs automatically. The application is started with the main method, and any command written should be written within the main method, else you can't run it.

Lösung ausblenden
TESTE DEIN WISSEN

What should you always remember when writing commands in C#?


Lösung anzeigen
TESTE DEIN WISSEN

Any Anything done within a class should be written between the opening and closing curly bracket{}, this is also the case with a namespace and main method.


Commands should be closed with a semicolon(;).

Lösung ausblenden
TESTE DEIN WISSEN

What do the open and closing curly brases mean{}?


Lösung anzeigen
TESTE DEIN WISSEN

Within the opening and closing curly braces is the code block. All written code must be within the braces.

Lösung ausblenden
TESTE DEIN WISSEN

How can you create classes of the same name in a program?

Lösung anzeigen
TESTE DEIN WISSEN

You can create a new namespace within a program and within that namespace you can create the class with the same name.

Lösung ausblenden
TESTE DEIN WISSEN

What does the void keyword mean and or do?


Lösung anzeigen
TESTE DEIN WISSEN

This is a keyword that specifies the data type that is to be returned, void declares that the method will not have a return value.

Lösung ausblenden
TESTE DEIN WISSEN

What does args in the main method stand for?


Lösung anzeigen
TESTE DEIN WISSEN

It is a parameter in the main method that accesses a string array that is called args, this is in array that is populated with several command-line arguments from the operating system. This makes configurating programs less complex.

Lösung ausblenden
TESTE DEIN WISSEN

What does the WriteLine method do?


Lösung anzeigen
TESTE DEIN WISSEN

This method prints out (output) the information (variables, integers, doubles en string and much more) on the screen and does this always on a new line. The Console.Write method prints out information but does this always on the same line.

Lösung ausblenden
TESTE DEIN WISSEN

What does a program consist of?

Lösung anzeigen
TESTE DEIN WISSEN

A program consists of many classes that are like organized parts of a whole that is the program. Like a car that has many parts that work together to make the car.

Lösung ausblenden
TESTE DEIN WISSEN

What is a class?

Lösung anzeigen
TESTE DEIN WISSEN

It is a group that contains data and methods. They are contained within braces tha belong to the namespace. It is like a classification system.

Lösung ausblenden
  • 4786 Karteikarten
  • 133 Studierende
  • 0 Lernmaterialien

Beispielhafte Karteikarten für deinen Programming fundamentals Kurs an der Radboud University - von Kommilitonen auf StudySmarter erstellt!

Q:

What is important for the writeline method to work?


A:

1. You have to write the message within openening and closing parenthesis (). This is the containter for the information.

2. You have to write everything between double quotes, with the exception of variables and so on.

3. Every output of the writeline method is always in string datatype.

Q:

What are namespaces used for?

A:

A namespace is used to organize the classes. Classes are in a given namespace and in a namespace a name for a class can only be used once.

Q:

What does the static keyword do?

A:

Static is a modifier keyword that declares that the method belongs to the program class and not an object of the program class.

Q:

What is the main method?

A:

This method provides an entry point for the application created. When you run a program, the main method runs automatically. The application is started with the main method, and any command written should be written within the main method, else you can't run it.

Q:

What should you always remember when writing commands in C#?


A:

Any Anything done within a class should be written between the opening and closing curly bracket{}, this is also the case with a namespace and main method.


Commands should be closed with a semicolon(;).

Mehr Karteikarten anzeigen
Q:

What do the open and closing curly brases mean{}?


A:

Within the opening and closing curly braces is the code block. All written code must be within the braces.

Q:

How can you create classes of the same name in a program?

A:

You can create a new namespace within a program and within that namespace you can create the class with the same name.

Q:

What does the void keyword mean and or do?


A:

This is a keyword that specifies the data type that is to be returned, void declares that the method will not have a return value.

Q:

What does args in the main method stand for?


A:

It is a parameter in the main method that accesses a string array that is called args, this is in array that is populated with several command-line arguments from the operating system. This makes configurating programs less complex.

Q:

What does the WriteLine method do?


A:

This method prints out (output) the information (variables, integers, doubles en string and much more) on the screen and does this always on a new line. The Console.Write method prints out information but does this always on the same line.

Q:

What does a program consist of?

A:

A program consists of many classes that are like organized parts of a whole that is the program. Like a car that has many parts that work together to make the car.

Q:

What is a class?

A:

It is a group that contains data and methods. They are contained within braces tha belong to the namespace. It is like a classification system.

Programming fundamentals

Erstelle und finde Lernmaterialien auf StudySmarter.

Greife kostenlos auf tausende geteilte Karteikarten, Zusammenfassungen, Altklausuren und mehr zu.

Jetzt loslegen

Das sind die beliebtesten Programming fundamentals Kurse im gesamten StudySmarter Universum

Programming

Universidade Nova de Lisboa

Zum Kurs
fundamentals of programing

Addis Ababa Science & Technology University

Zum Kurs
Introduction to Programming Fundamentals

Radboud University

Zum Kurs
Fundamentals of Programming

University of the City of Manila

Zum Kurs

Die all-in-one Lernapp für Studierende

Greife auf Millionen geteilter Lernmaterialien der StudySmarter Community zu
Kostenlos anmelden Programming fundamentals
Erstelle Karteikarten und Zusammenfassungen mit den StudySmarter Tools
Kostenlos loslegen Programming fundamentals