Search Box

CGI Coding Questions

CGI Coding questions:-

In CGI Company coding round there will be two questions, and the time duration for this round will be 45 Minutes.This round is one of the section of online test.We have collected some of the asked questions

CGI_Coding_Questions_with_Answers_Coding_Examples
CGI Coding Questions

Coding Question:
-Print Trapezium pattern.


Coding Question:
- Write a program that receives a number as input and prints it in the following format as shown below.

N=5

1

3*2

4*5*6

10*9*8*7

11*12*13*14*15

Coding Question: -Write a program that receives a number as input and prints it in the following format as shown below.

Examples:

Input: n = 3

Output:

1*2*3*10*11*12
--4*5*8*9
----6*7

Input: n = 4

Output:

1*2*3*4*17*18*19*20
--5*6*7*14*15*16
----8*9*12*13
------10*11


Coding Question: - Sorting in descending order according to their frequency.

Given array: 4 1 3 5 2 5 3 7 8 9 5 4

Output: 5 5 5 3 3 4 4 1 2 7 8 9

Coding Question: -Check whether two 8 bit numbers are graycode sequence or not.


You may look for


CGI Coding Questions - CGI Company Coding Questions
CGI Coding examples - CGI Coding Round
CGI Pattern Printing Questions - CGI Programming Interview Questions
Coding round questions for freshers - CGI Online coding test




CGI Coding Questions CGI Coding Questions Reviewed by Placement Papers Hub on 8:27:00 PM Rating: 5

No comments:

Placement Papers Hub. Powered by Blogger.