Professional Documents
Culture Documents
Brocamp - Mock Interview Questions
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 .
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
***
*
*
*
******
*
*
*
*********
+
+
+
+++++++
+
+
+
**
*
*
*
****
*
*
*
*
*
******
**
*
*
*
****
****
*
*
*
******
******
******
*
***
*
*
******
*
*
*
*********
1 2 3 4 5
2 4 6 8
3 6 9
4 8
5
Team -3 lead (Siddharth)
1
12
123
1234
12345
ARRAY
Q2 : Remove the even numbers from an array and find the average of the remaining numbers in
the array?
Q5 : whenever a number occur which is not a prime skip two numbers and print the remaining?
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
*
***
Team 7 - Tahir Muhammed AP
Team - 8 (Lead - Faiz)
Pattern1
:********
* *
* *
* *
* *
* *
*
Pattern 2
**
*
****
*
*
*
********
*
*
*
*
*
*
*
Pattern3
*
*
**
**
**
*
*
*
***
3,
* *
*** ***
***** ***
**** ****
***** *****
************
Team 10 - Lead (Aflah)
Pattern
1.
* * * * * -> 5
*
*
*
* * * * * * * * * * ->10
*
*
*
*
*
*
* * * * * * * * * * * * * * ->15
2.
*
* * * -> 3
*
* * * ->6
***
*
* * * ->9
***
***
*
* * * ->18
***
***
***
3.
*
* * * * ->4
*
*
* * * * * * * * ->8
*
* * * * * * * * * * ->10
*
*
Array