You are on page 1of 21

Brocamp - Mock Interview Questions

BCK121
(NB: Press Control + Enter at the end of page to create new pages)
Team 1 :
Lead : Shamal

● Pattern :

Q1.
#
##
###
#
##
###
####
#
##
###
####
#####

Q2.
*
***
**
**
******
***
***
*********

Q3.
***
*
*
*
******
*
*
*
*
*
*
*********
Q4.
*
**
***
*
**
***
****
*
**
***
****
*****
Q5.
*
**
*
*
*
****
*
******
*
*
*
********

● Array Problems :

Q1. Create an array and find the odd numbers in the array and sum the odd
numbers and display it .

Q2. Insert a new number in c program into array

Q3. Create an array and find the smallest number in that array without use sorting

Q4. Create 2 arrays and merge it,and create descending order array

Q5. Write a program to find the smallest number in an unsorted array.

Q6. Write a program to count prime numbers in an array.


TEAM 2(Lead-shihad)

1.delete prime numbers in array


2.write a program to delete elements which are multiple of 5
3.delete an element in array
4.print positive and negative elements in separate array
5.write a program to find smallest element in an unsorted array
6.sort the array in ascending order and print the number of unique element

***
*
*
*
******
*
*
*
*********

+
+
+
+++++++
+
+
+

**
*
*
*
****
*
*
*
*
*
******
**
*
*
*
****
****
*
*
*
******
******
******

*
***
*
*
******
*
*
*
*********

1 2 3 4 5
2 4 6 8
3 6 9
4 8
5
Team -3 lead (Siddharth)

1.Array :- write a program to reverse an array


Pattern ;- 12345
2468
369
48
5

2.Print the count of prime numbers in an array.


**
*
*
******
*
*
*
*
*********
3.
***
*
******
*
*
*********

4 .Delete the duplicate elements in the array


*
***
**
**
******
***
***
***
*********
5 print an array , replace the elements which is multiple of 5 with number 10 .

1
12
123
1234
12345

6. Write an array and print unique elements .


I
IN
IND
INDI
INDIA

Print this pattern


Team 4 - Lead (Sirajul Muneer CP)

ARRAY

Q1 : Find the average of unique numbers in an array?

Q2 : Remove the even numbers from an array and find the average of the remaining numbers in
the array?

Q3 : program to count the total unique elements in an array?

Q4 : find the largest element in an array without sorting?

Q5 : whenever a number occur which is not a prime skip two numbers and print the remaining?

Q6 : Sum of the factorial of the elements in an array?

PATTERN

Q7 ;

* *-2

* * * *-4

* * * * * *-6

*
Q8 ;

* * *-3

* * * * * *-6

* * * * * * * * *-9

*
Q9 ;

* * * * * -5

* * * * * * * * * *-10

* * * * * * * * * * * * * * * -15

Q10;

* * * * * * * * * * * * *-13

**

* * * * * * * * * * *-11

**

* * * * * * * * *-9

**

* * * * * * *-7

**

* * * * *-5

**

* * *-3

**

*-1
Q11 ;

* * * * -4

******-6

* * * * * * * * -8

*
Team-5
(Lead- Vipin)

1.
10101
01010
10101
01010
10101

2.

*
***
*****
*******
*********
*******
*****
***
*

3.

*
*
***
**
**
******
***
***
*********
4.

12345
2468
369
48
5

5.
******
*
****
*
*
**
*
*
*

6.
*****
*
**********
*
*
***************
*
*
*
Array

1.find prime numbers in an array and replace it with 0.


2.find smallest number in an array without sorting
3.print the repeating elements from an array
4.change the multiples of 3 to 1 and multiples of 5 to 0 in an array
5.find the largest element in an array without sorting
6.find the sum of an array, if the sum if less than 100 delete odd elements or if the sum is
greater than 100 delete even elements
Team - 6 lead(Simcy)
Array :-
Q1:delete duplicate elements in an array
Q2:
*
***
*
*
*
******
*
*********
*
*
*
************

*
***
Team 7 - Tahir Muhammed AP
Team - 8 (Lead - Faiz)

Q1. Find the unique elements in an array.


Q2. Pattern:
**
*
*
*
****
****
*
*
*
******
******
******

Q3. Write a program for print the prime numbers in a array.


Q4. Pattern:
×××××
×
×
×
××××××××××
×
×
×
×
×
×
×××××××××××××××

Q5. Find frequency of elements in a array.


Q6. Pattern:
***
*
******
*
*
*********
*
*
*
Q7. Write a program to replace odd numbers in an array with * and sum of even numbers
Q8. Pattern:
*************
**
***********
**
*********
**
*******
**
*****
**
***
**
*
Q9. Find the average of unique numbers in array.
Q10. Pattern:
*
****
*
*
********
*
************
*
*
Team 9 lead (Katheejath Asfana)
Array
Q1: delete duplicate elements in an array
Q2 . Position deletion of array
Q3. find average of unique number in an array

Pattern1
:********
* *
* *
* *
* *
* *
*

Pattern 2
**
*
****
*
*
*
********
*
*
*
*
*
*
*

Pattern3

*
*
**
**
**
*
*
*
***
3,
* *
*** ***
***** ***
**** ****
***** *****
************
Team 10 - Lead (Aflah)

Pattern
1.
* * * * * -> 5
*
*
*
* * * * * * * * * * ->10
*
*
*
*
*
*
* * * * * * * * * * * * * * ->15
2.
*
* * * -> 3
*
* * * ->6
***
*
* * * ->9
***
***
*
* * * ->18
***
***
***
3.
*
* * * * ->4
*
*
* * * * * * * * ->8
*
* * * * * * * * * * ->10
*
*
Array

1. Delete Repeating Element in Array


2. Write a Program Merge Two Array Sorted in Descending Order ?
3. Write a Program Reverse Array and Delete All Even Numbers

You might also like