S3sc0 / examrank-02-03-04-05-06

exam project 2020

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✅ EXAM (project 2020-2022)

Exams of the new graph.
Subjects are in the folder of each exercises, along with a solution and a test file.
At the same time, I have presented the code as a sample for solving each of the functions.if you find any bug, write to "issues".

✅ Exam Rank 02

Original link to the subjects repository: click

Title Description Allowed functions level of difficulty
ft_printf Write a function named ft_printf that will mimic the real printf malloc, free, write, va_start, va_arg, va_copy, va_end ⭐⭐⭐⭐
get_next_line Write a function will store, in the parameter "line", a line that has been read from the file descriptor 0 read, free, malloc ⭐⭐⭐
inter Write a program that takes two strings and displays, without doubles, the characters that appear in both strings, in the order they appear in the first one. write ⭐⭐
union Write a program that takes two strings and displays, without doubles, the characters that appear in either one of the strings. write

✅ Exam Rank 03

Original link to the subjects repository: click

Title Description Allowed functions level of difficulty
micro_paint Write a program that will read an "operation file" and print the result in the terminal (rectangle) fopen, fread, fscanf, fclose, write, malloc, calloc, realloc, free, memset, powf, sqrtf ⭐⭐⭐
mini_paint Write a program that will read an "operation file" and print the result in the terminal (circle) fopen, fread, fscanf, fclose, write, malloc, calloc, realloc, free, memset, powf, sqrtf ⭐⭐⭐

Running tests

✅ Exam Rank 04

Original link to the subjects repository: click

Title Description Allowed functions level of difficulty
microshell Write a program that will behave like executing a shell command malloc, free, write, close, fork, waitpid, signal, kill, exit, chdir, execve, dup, dup2, pipe, strcmp, strncmp ⭐⭐⭐⭐

Hint:

To check for leaked file descriptors, use the command lsof -c microshell. Pay attention to the section PIPE

Running tests

✅ Exam Rank 05

Review

Title Description Allowed functions level of difficulty
cpp_module_02 Polymorphism All ⭐⭐⭐
cpp_module_01 Inheritance All ⭐⭐
cpp_module_00 Encapsulation All

✅ Exam Rank 06

‼️ Attention: on the exam on the first attempt, the 8 test will fail. Just do grademe again.

📫 Other

‼️ Attention: if you see any changes in the exam or there is a more elegant solution, make a pull request.

©️Authors:

Mark Veligod

About

exam project 2020


Languages

Language:C 62.1%Language:C++ 25.2%Language:Shell 12.0%Language:Python 0.8%