DD1318 Programming and Scientific Computing 9.0 credits

Programmeringsteknik och tekniska beräkningar

A basic course in programming techniques, and solving basic scientific problems using a computer.

Show course information based on the chosen semester and course offering:

Offering and execution

No offering selected

Select the semester and course offering above to get information from the correct course syllabus and course offering.

Course information

Content and learning outcomes

Course contents *

Fundamental computer concepts.

Programming in a modern programming language. Data structures and classes. Problem-solving through division into sub problems. Program structuring. Several smaller programming assignments as well as a larger, individual programming assignment with strong emphasis on structuring and specification of included modules.

Technical computations for the solution of mathematical problems. Two and three-dimensional graphical presentation.

Intended learning outcomes *

Aims of the course: After passing the course, the students should be able to:

  • follow the rules in the syntax of the programming language
  • apply and account for rules for good programming style (such as user-friendliness, comments, error handling, structuring, flexibility)
  • discover and correct programming errors
  • modify given programs
  • transfer data between file and program
  • identify the need of and use control structures (conditional statements and loops)
  • divide a larger problem into manageable parts and design functions for these
  • use the data structures that are embedded in the programming language, as well as choose data structures that fit for the current problem
  • use classes as well as design own classes
  • review others' programs
  • handle matrices and use matrix operations
  • use built-in functions from libraries for technical computations and visualisation
  • differentiate and integrate functions numerically
  • solve scalar equations numerically
  • solve large linear equation system
  • use the least squares method
  • solve optimisation problems numerically
  • write and plot functions of complex numbers
  • plot curves
  • plot surfaces
  • make frequency analysis FFT, of vectors/sound and matrices/images

in order to have the possibility to:

  • use programming to solve problems
  • apply the problem solving methodology also in other fields than programming
  • discuss software development with experts
  • utilise the computer as aid for mathematical computations and visualisation in other courses.

The course contributes to satisfy the following aims for the Master of science in engineering programme in Media technology

  • The Media Technology programme will give the student the fundamental knowledge and abilities needed to successfully work with and from an engineering perspective solve technical, organisational, methodological, design-related, and user-related problems within the media field. The programme gives knowledge about the technical as well as multi-disciplinary foundation that media and their technology for production, distribution, and consumption rely upon.
  • The student will also have the ability to plan and and implement qualified assignments within given constraints and considering sustainability.

Course Disposition

No information inserted

Literature and preparations

Specific prerequisites *

No information inserted

Recommended prerequisites

High school mathematics (scientific program). Some computer experience (the concepts of operating system and file and experience from one computer application, e.g. word processing).

Equipment

No information inserted

Literature

No information inserted

Examination and completion

Grading scale *

A, B, C, D, E, FX, F

Examination *

    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.

    Opportunity to complete the requirements via supplementary examination

    No information inserted

    Opportunity to raise an approved grade via renewed examination

    No information inserted

    Examiner

    Christian Smith

    Further information

    Course web

    Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

    Course web DD1318

    Offered by

    EECS/Intelligent Systems

    Main field of study *

    Technology

    Education cycle *

    First cycle

    Add-on studies

    No information inserted

    Contact

    Christian Smith (ccs@kth.se)

    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.

    Supplementary information

    Only one of the following courses may be counted in your exam:
    DD100N, DD1310, DD1311, DD1312, DD1314, DD1315, DD1318, DD1340, DD1341, DD1342, DD1343, DD1345, DN1212, HI1024, HI1026, ID1004, ID1301.

    In this course, the EECS code of honor applies, see:
    http://www.kth.se/en/eecs/utbildning/hederskodex