Java - Interview Questions and Answers for 'Ciena' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Java Interview Questions


 2137 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Label / Company      Label / Company / Text

   



Interview Questions and Answers for 'Ciena' - 4 question(s) found - Order By Newest

Frequently asked question for intermediate developers.
  Q1. What is Volatile keyword used for ?Core Java
Anonymous
Ans. Volatile is a declaration that a variable can be accessed by multiple threads and hence shouldnt be cached.

  Sample Code for volatile

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     java   oops   synchronization   volatile   java keywords     ABC Ltd   Ciena  Xchanging  Square  Infoview Technologies  HCL Technologies  EPAM  GrubHub  TeleMessage  TRUSTe  Informatica  Square  Medidata Solutions  Yellow Pages  eQ Technologic  Sutra Analytics  CustomerXPs  Globant  BB Holdings  Rakuten  Booking.com  BlackRock  Qualcomm  LSI Corporation  ARM Holdings  SpaceX  Toshiba  Peapod  Amadeus  Apptio  Tivo  EchoStar  HomeAway  Syscom Technologies  Aversan  Symantec  Samsung India  Axtria  Qualcomm  CGI Group      intermediate        frequent

Try 1 Question(s) Test


Frequently asked to fresh graduates.
 Q2. What are the difference between Threads and Processes ?Operating System
Anonymous
Ans. 1. when an OS wants to start running program it creates new process means a process is a program that is currently executing and every process has at least one thread running within it.
2). A thread is a path of code execution in the program, which has its own local variables, program counter(pointer to current execution being executed) and lifetime.
3. When the JavaVirtual Machine (JavaVM, or just VM) is started by the operating system, a new process is created. Within that process, many threads can be created.
4. Consider an example : when you open Microsoft word in your OS and you check your task manger then you can see this running program as a process. now when you write something in opened word document, then it performs more than one work at same time like it checks for the correct spelling, it formats the word you enter , so within that process ( word) , due to different path execution(thread) all different works are done at same time.
5. Within a process , every thread has independent path of execution but there may be situation where two threads can interfere with each other then concurrency and deadlock come is picture.
6. like two process can communicate ( ex:u open an word document and file explorer and on word document you drag and drop another another file from file explorer), same way two threads can also communicate with each other and communication with two threads is relatively low.
7. Every thread in java is created and controlled by unique object of java.lang.Thread class.
8. prior to jdk 1.5, there were lack in support of asynchronous programming in java, so in that case it was considered that thread makes the runtime environment asynchronous and allow different task to perform concurrently.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     java   operating system   threads   processes     Ciena  Walt Disney        frequent


 Q3. Have you ever had any conflict with the team member (like disagreement on some design decision ) and How you reacted to it ? General2016-11-30 15:55:39

Ans. [Open Ended Answer]

This is a very sensitive question and should be dealt with caution. Just simply saying that you never had any disagreement will present you as dumb team member. Showing your self as too aggressive in such decisions will present you as a trouble maker. You should present a situation where you had an argument / disagreement but eventually you and your team mates mutually found a way out of it.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve          Elsevier  Overstock.com  EPAM  InContact  Liberty Mutual Insurance  Principal Financial Group  FedEx  McKesson   ITHAKA  Incture Technologies  Ciena  Capgemini  Programmation  Hewlett Packard (HP)  United Health Group (UHG)  Delta Air Lines   ResMed  TD Ameritrade  Vistana  The Bank of New York Mellon (BNY Mellon)      basic


Frequently asked in face to face interviews.
  Q4. Write a program to print fibonacci series.Core Java

Ans. int count = 15;
int[] fibonacci = new int[count];
fibonacci[0] = 0;
fibonacci[1] = 1;
for(int x=2; x < count; x++){
fibonacci[x] = fibonacci[x-1] + fibonacci[x-2];
}

for(int x=0; x< count; x++){
System.out.print(fibonacci[x] + " ");
}

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     ebay   fibonacci series     Manvish eTech  Belvedere Trading  King UK  FinaTel  Goldman Sachs  Enlighten Software  Misys  Mahindra Comviva  ZapCom  Nucleus Software Exports  Enlighten  Sears  Mahindra Satyam  Insperity  General Motors  AVIS e Solutions  Paddy Power Betfair  TurningCloud  Polestar Solutions  BlueWhale Solutions  CitiusTech  Zuhlke  Comcast  KGFSL  Quickr  Paramatrix Technologies  CalSoft  Ancestry.com  OnMobile Global  NBCUniversal  Inventum Technologies  Hughes Systique  Flextronics  Geometric Soft  Check Point Software Technologies  ZapLabs  Indecomm Global Services  HTC Global  Quovantis Technologies  Mobiloitte  Riktam Technologies  DMX Technologies  Mojo Networks  Tata Elxsi  Ciena  ServiceNow  EverBridge  LendingClub  Virtusa Polaris  West Corporation  Ebay  Walmart  HomeAway  AllClear ID  Quinnox Software  Acquity Group  Cadence Design Systems  SmartPrix  Leidos  Zoho  Varian Medical Systems  HealthSparq      basic        frequent




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this

1 person from Ashburn are looking for questions for 'Ciena'. Connect with them to better prepare for your interview.
X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: