Oh BoI 4

A visually striking image of a computer screen displaying code, with abstract representations of algorithms and programming concepts floating around it, in a modern tech aesthetic.

Programming Concepts Challenge

Test your knowledge of programming concepts with this engaging quiz! Whether you're a student, teacher, or professional, this quiz covers a range of topics including algorithms, C programming, and shell scripting.

See how much you know:

  • 10 challenging multiple choice questions
  • Immediate feedback on your answers
  • Explore fundamental concepts in computer science
10 Questions2 MinutesCreated by CodingEagle42
Heap sort algorithim
Merge sort algorithim
Insertion sort algorithim
Quick sort algorithim
Sum 2
Sum 4
Sum 21
Sum 15
Execution of the program presented in the listing above will result in output:
S=1, m=0, e=128
S=1, m=0, e=127
S=0, m=0, e=126
S=0, m=0, e=127
Processes in POSIX- compliant operating system have the property:
Communication between processes using shared memory requiers the kernel to particpate in the data writing and reading phase
The process is created when the program is loaded into memory and consists of sections of code, data, stack and optionally heap
Filature of the parent process causes the child process to terminate immediately
The child process is always a copy of the parent (its code and data cannot be changed)
C functions have the property
Arguments passed to the function can be modified while its code is being executed and are returned to the place where it is called upon completion.
Variables declared inside a function block can exist before and after the execution of the function
A function can only provide result values by returning them with a return statement
Function cannot access external variables in order to read or modify ther values
The bash shell has the following features.
It allows to define environment variables of structured types
It allows to execute sequences of user commands
It can only execute single user commands
It allows to define scalar and array type environment variables
C language data pointers have the property.
The only way to initialize pointers variables is to use one of the dynamic memory allocation functions.
When declaring a pointer variable the type of the pointer data is given, the & character and the name’
Pointer variables only store the starting address of the variable or memory area
Pointers cannot be passed to functions as arguments or returned as results
The command given below. Lm@arch:~% ls/usr/nin/|grep ‘[^e-g]grep$’
Will search the /usr/bin/directory for files with names containing “[^e-g]grep$”
Will search the /usr/bin/directory for files with names ending with phrase grep, which is not preceded by any of the characters ‘e’, ‘f’, ‘g’
Will search the /usr/bin/directory for files with names ending with grep, followed by one of the characters ‘^’ , ‘e’ , ‘f’ , ‘g’
Will search the /usr/bin/directory for files with names ending in grep, preceded by one of the characters ‘^’, ‘e’, ‘-’, ‘g’
Sum 15
Sum 10
Sum 5
Sum 30
Singely-lined list in C:
Is an unordered collection of elements of any type
Is defined in the standard library as type GSList
Performs appending an element to the end of the list as an operation with complexity O(n)
Can be defined using a structure composed of two fileds (pointer to data and to the successor), possibly supplemented with functions implementing the required operations
{"name":"Oh BoI 4", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of programming concepts with this engaging quiz! Whether you're a student, teacher, or professional, this quiz covers a range of topics including algorithms, C programming, and shell scripting.See how much you know:10 challenging multiple choice questionsImmediate feedback on your answersExplore fundamental concepts in computer science","img":"https:/images/course7.png"}
Powered by: Quiz Maker