Bhairahawa Multiple Campus

Demo questions

Practice rounds for the contest: ten core programs in C, ten output prediction puzzles, and five design tasks built with HTML and CSS.

0 core programs
0 output puzzles
0 design tasks

Practice questions from Code Olympiad 2081.

25 practice items

Core Programming

Here you can learn about core programming concepts such as algorithms, data structures, and more!

q01

Question 1: Write a function to find the factorial of a number.

q02

Question 2: Write a function to check if a number is prime.

q03

Question 3: Write a function to reverse a string.

q04

Question 4: Write a function to find the maximum of two numbers.

q05

Question 5: Write a function to find the sum of an array of numbers.

q06

Question 6: Write a function to find the Fibonacci sequence up to a given number.

q07

Question 7: Write a function to find the length of a string.

q08

Question 8: Write a function to count the number of vowels in a string.

q09

Question 9: Write a function to check if a string is a palindrome.

q10

Question 10: Write a function to calculate the power of a number.