• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • CMC
  • /
  • Programming

Frequently Asked CMC Programming Interview Questions with Answers

CMC Select Another Category Programming Select Another Topic

Company

  • 3i-Infotech 345
  • Accenture 548
  • ADITI 81
  • Athenahealth 72
  • CADENCE 37
  • Capgemini 519
  • CMC 49
  • Cognizant 29
  • CSC 480
  • CTS 1340
  • Dell 49
  • Elitmus 44
  • GENPACT 516
  • Google 55
  • HCL 217
  • Hexaware 92
  • Huawei 81
  • IBM 1714
  • IGate 169
  • Infosys 2050
  • L&T 299
  • Microsoft 61
  • Miscellaneous 204
  • Oracle 74
  • Other 95
  • Patni 199
  • Sapient 44
  • Sasken 31
  • Self 38
  • Syntel 530
  • TCS 9109
  • Tech Mahindra 500
  • Wipro 1182

CMC Question Topics

    Category (5)

    HR Interview (3)

  • Interview (3)
  • Logical Reasoning (10)

  • Blood Relations (2)
  • Cryptography (1)
  • Decision Making and Problem Solving (2)
  • Direction Sense (2)
  • Numerical Ability (7)

  • Arithmetic (1)
  • Data Interpretation (1)
  • Data Sufficiency (3)
  • Probability (1)
  • Profit and Loss (1)
  • Programming (9)

  • Technical (8)
  • Verbal Ability (1)

  • Antonyms (1)
Keep an EYE (0)
Solved Question (0) UnSolved Question (9)
Pages: 11
Advertisements

(#M40085995) CMC QUESTION Technical written test question Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the following sorting algorithms does not have worst case running time of O(n2) ?
A Merge Sort
B Quick Sort
C Bubble Sort
D Insertion Sort

Asked In CMC Naveen (10 years ago)
Unsolved Read Solution (6)
Is this Puzzle helpful?   (31)   (4) Submit Your Solution Technical

(#M40085996) CMC QUESTION Technical written test question Keep an EYE Keep an eye puzzle Keep an eye puzzle

The following operations are performed on a stack:
push(10), push(20), pop, push(10), push(20), pop, pop, pop, push(20), pop. The sequence of values popped out is

A) 20, 10, 20, 10, 20
B) 20, 20, 10, 10, 20
C) 10, 20, 20, 10, 20
D) 20, 20, 10, 20, 10

Asked In CMC Naveen (10 years ago)
Unsolved Read Solution (8)
Is this Puzzle helpful?   (36)   (19) Submit Your Solution Technical
Advertisements

(#M40086001) CMC QUESTION Technical written test question Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which of the following shell variable is used to return the process ID of the current shell?
A) $!
B) $$
C) $*
D) None

Asked In CMC Naveen (10 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (3)   (0) Submit Your Solution Technical

(#M40086003) CMC QUESTION Technical written test question Keep an EYE Keep an eye puzzle Keep an eye puzzle

When a binary tree is traversed in preorder and inorder, the labels of the nodes are printed as below.
Preorder: A B C D E F G H
In order: B C A E G F D H
In what order the nodes appear if the same binary is traversed in post-order?
A) C B G F E H D A
B) C B E G F H D A
C) C B F G E D H A
D) Can’t be decided unless tree representation is given

Asked In CMC Naveen (10 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (2)   (1) Submit Your Solution

(#M40085999) CMC QUESTION Technical written test question Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which one of the following is the most suitable data structure for applications involving frequent additions and deletions of data elements?
A Stack
B Arrays
C Linear lists
D Linked list

Asked In CMC Naveen (10 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (1)   (0) Submit Your Solution Technical

(#M40085997) CMC QUESTION Technical written test question Keep an EYE Keep an eye puzzle Keep an eye puzzle

In a memory system, read access takes 100 ns and write access takes 80 ns. If 60% of the access requests are reads, what is the average access time of the memory?
A) 3 ns
B) 92 ns
C) 108 ns
D) 88 ns

Asked In CMC Naveen (10 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (4)   (1) Submit Your Solution Technical

(#M40086002) CMC QUESTION Technical written test question Keep an EYE Keep an eye puzzle Keep an eye puzzle

The system call that is key to multitasking in UNIX
A) Exec
B) Fork
C) System
D) None

Asked In CMC Naveen (10 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (4)   (2) Submit Your Solution Technical

(#M40086000) CMC QUESTION Technical written test question Keep an EYE Keep an eye puzzle Keep an eye puzzle

Consider the C language code given below.
int *a;
int b[2];
a = b;
b[0] = -46;
b[1] = -23;
*a = -34;
(*++a)++;
What are the values of b[0], b[1] at the end.
A -34, -24
B -46, -22
C -34, -22
D -46, -23

Asked In CMC Naveen (10 years ago)
Unsolved Read Solution (4)
Is this Puzzle helpful?   (0)   (1) Submit Your Solution Technical

(#M40085994) CMC QUESTION Technical written test question Keep an EYE Keep an eye puzzle Keep an eye puzzle

The ideal data structure to handle backtracking is?
A Queue
B Tree
C Stack
D Linked list

Asked In CMC Naveen (10 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (3)   (0) Submit Your Solution Technical
Keep an EYE (0)
Solved Question (0) UnSolved Question (9)
Pages: 11
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

"IF YOU DON'T KNOW MATHS , IT MEAN YOU ARE FAR AWAY FROM LIFE."

Ayush

Mathematics is KING of ARTS and QUEEN of SCIENCE...

My_Teacher

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com