|
Module/Course Title: Algorithm and Programming Lab |
|||||
|
Module course code KOMS120206 |
Student Workload
|
Credits 1 / 1.5 ETCS |
Semester 2 |
Frequency
Even Semester |
Duration 16 |
|
1 |
Type
of course Core Study Courses |
Contact
hours
|
Independent
Study
|
Class Size 30 |
|
|
2 |
Prerequisites
for participation (if applicable) - |
||||
|
3 |
Learning Outcomes
|
||||
|
4 |
Subject aims/Content This course is a practicum course, where students will do a practicum based on the given practicum modules. In this course, the practicum is designed to apply the theories obtained in the Algorithm and Programming courses in an integrated manner based on cases. The theories applied to the practicum include the basic structure of computer programs, data types and variables, input and output, operations in programming consisting of arithmetic operations, logical operations, and bitwise operations, string operations, branching, looping, pointers, array, record/struct, function, parameter passing, recursion, file operation, and library file creation. These theories are designed to fit into the practicum module, and form a case. To be able to take this course, students must have passed the Algorithm and Programming course. Study MaterialProgram structure and programming basics Case: Create a calculator program that can be executed from the Command Prompt with the arguments of the operand and the operation being performed. Branching. Case: Create a program to determine whether a year is a leap year or not. Arrays and Loops. Case: Write a program to find the inverse of a matrix using elementary row operations. Algorithm design and implementation I. Case: Make a program to know Panca Wara, Sapta Wara, and Wuku from a date. Structs, arrays, loops. Case: Create a program that can input/add, edit, delete and display student data consisting of: Student ID Number, name, gender, year of birth, year of admission, and GPA! Structs, arrays, loops. Case: Create a program that can input/add, edit, delete and display student data consisting of: Student ID Number, name, gender, year of birth, year of admission, and GPA! Design and implementation of algorithm part II , input/output, string operations Case: first program. Create a program to parse user input. For example, the user enters the input string as follows.
Algorithm II design and implementation, input/output, string operations Case: first program. Create a program to parse user input. For example, the user enters the input string as follows.
File operations, input/output, string operations, structs, arrays. Case: 1. Write a program to read a .csv file and put the data in an array of structs. The data type of the struct must be correct. 2. Write a program to save data in the form of a .csv file. .csv files for materials can be created in Microsoft Excel. File operations, input/output, string operations, structs, arrays. Case: 1. Write a program to read a .csv file and put the data in an array of structs. The data type of the struct must be correct. 2. Write a program to save data in the form of a .csv file. .csv files for materials can be created in Microsoft Excel. File, struct, array operations Make a program like in the 5th Practicum Module, only, this time the data is stored in a binary file. File, struct, array operations Make a program like in the 5th Practicum Module, only, this time the data is stored in a binary file. Bitwise Operation Case: Write a program to display the binary form of an integer, using bitwise operations! File operations, Bitwise operations. Case: Write a program to process Windows 24 bit .BMP image files. 1. Create a negative version of the image file from the original. File operations, Bitwise operations. Case: Write a program to process Windows 24 bit .BMP image files. 1. Create a negative version of the image file from the original. Recursion function Case: Write a program to display permutations of numbers recursively |
||||
|
5 |
Teaching methods
Practice |
||||
|
6 |
Assesment Methods
Practical assessment rubric |
||||
|
7 |
This module/course is used in the following study programme/s as well Computer Science Study Programme |
||||
|
8 |
Responsibility for module/course
|
||||
|
9 |
Other Information
|
||||