- Background and introduction to programming languages
- Data types, variables, and references
- Operators
- Sequence, selection, and repetition
- One and multi-dimensional arrays
- Functions and modular programming
- Problem analysis, structuring, debugging, and testing
- Memory management
- Text management
- File management
ML1303 Programming, general course 6.0 credits
This course has been discontinued.
Last planned examination: Autumn 2015
Decision to discontinue this course:
No information insertedInformation per course offering
Course offerings are missing for current or upcoming semesters.
Course syllabus as PDF
Please note: all information from the Course syllabus is available on this page in an accessible format.
Course syllabus ML1303 (Autumn 2012–)Content and learning outcomes
Course contents
Intended learning outcomes
Aims:
The course will provide the basic knowledge of a modern programming language.
In order to obtain satisfactory marks, the student must be able to write structured programs in a given programming language, with particular emphasis upon:
- Formulating elementary algorithms for given problems and converting them into a program code
- Using an Integrated Development Environment to write, execute, and debug a program.
- Introducing and using data types and variables for storing data (including complex data types)
- Explaining memory management of various data types, and distinguishing between addresses and variable values.
- Conducting simplistic program design while choosing appropriate test data (i.e. breaking down a problem into partial problems, implementing functions one at a time, and performing step-by step testing).
- Using external files for data storage.
In order to obtain higher marks, the student must be able to analyze more complex programming tasks and structure solutions on several levels: including problem analysis, comprehensive design, well-designed user interfaces, subdivision into partial problems, modules and functions, and implementation.
Literature and preparations
Specific prerequisites
Knowledge corresponding to admission requirements for Bachelor of Science in Engineering
Basic computer skills
Recommended prerequisites
Equipment
Literature
Meddelas 2 veckor innan kursstart.
Examination and completion
If the course is discontinued, students may request to be examined during the following two academic years.
Grading scale
Examination
- TEN1 - Written Exam, 1.5 credits, grading scale: A, B, C, D, E, FX, F
- ÖVN1 - Exercise, 4.5 credits, grading scale: A, B, C, D, E, FX, F
Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.
The examiner may apply another examination format when re-examining individual students.
Other requirements for final grade
Passed written exams
Passed lab assignments. The final grade is based on all parts of the examination.
Opportunity to complete the requirements via supplementary examination
Opportunity to raise an approved grade via renewed examination
Examiner
Ethical approach
- All members of a group are responsible for the group's work.
- In any assessment, every student shall honestly disclose any help received and sources used.
- In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.