Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

TCS Interview Questions
Questions Answers Views Company eMail

Tell me about yourself?

229 488088

Describe a complex problem you have solved or haven't solved?

9 37554

What are your short-range and long-range goals and how do you expect to achieve them?

17 58891

What are your Greatest strengths and weaknesses?

47 175035

What do you expect of others in a team environment?

12 33516

How do you establish working relationships with new people?

11 40093

Where you would like to be in 5 years?

23 50802

what are the stages in Testing life cycle?

50 104508

What is Boundary Value Analysis(BVA) and Equivalence Class Partition(ECP)?

10 54321

What is your biggest strength ?

23 61194

what is tracebility matrix?

8 23984

what is test plan and what it consists?

15 57323

what is sevirity and who will decided that one?

11 21622

what are Recoring modea available in winrunner?

3 7868

What accessories required to give the motor with given circuits and do you know the ratings of those accessories?

4 27315

Post New TCS Interview Questions


TCS Interview Questions


Un-Answered Questions

Is windows 8.1 still available?

439


How do you split a table into two in excel?

312


How do you know when chkdsk is finished?

401


What are expert systems in artificial intelligence?

497


What is jlabel java swing?

521






you are a universe designer and report developer in BO, what type of information you gather from client?Briefly explain plz

1548


Difference between nil and Nil.

497


List some of the best practices of using wpf in case you are planning to build a localized/globalized application?

105


Explain what happens when an exception is thrown in C++.

528


How do you write a subtraction formula in excel?

302


What is difference between database and schema?

484


Why we use content place holder in asp.net?

490


What are the steps to configure homestead?

446


What does information_schema contain?

424


I want to use the markerfor playing a video using the jmf.Suppose my video length is of 2 hours.I want it to play ex-15 mintue or 20 mintue and should stop after assigning the time.I am providing my piece of code............please help me.... package com.jha.cdac.lila.praveen; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.File; import java.net.URL; import javax.media.ControllerAdapter; import javax.media.Manager; /** * * @author vinays */ import javax.media.Player; import javax.media.RealizeCompleteEvent; import javax.media.Time; import javax.swing.JFrame; public class PlayVideo extends javax.swing.JFrame{ Player player; Component center; Component south; // this code is required for playing the video file of mpeg,mp4,mp3,3gp,rm,flv, //wmf,mpv,vob,qt and the asf extension public PlayVideo() { File file = new File("Lesson1.mpg"); try { load(file); // load() } catch (Exception ex) { //Logger.getLogger(LessonNarrative.class.getName ()).log(Level.SEVERE, null, ex); System.out.println("Error while loading file............"+ex); } } //the piece of code given below is used to load the file which user want to play. public void load(final File file) //load the file throws Exception { URL url = file.toURL(); final Container contentPane = getContentPane(); if (player != null) { player.stop(); } // MediaLocator mediaLocator=new MediaLocator (file.toURL()); // DataSource dataSource=Manager.createDataSource (mediaLocator); // player=Manager.createPlayer(url); player = Manager.createRealizedPlayer(url); ControllerAdapter listener = new ControllerAdapter() { @Override public void realizeComplete( RealizeCompleteEvent event) { Component vc = player.getVisualComponent(); player.getVisualComponent(); if (vc != null) { contentPane.add(vc, BorderLayout.CENTER); center = vc; } else { if (center != null) { contentPane.remove(center); contentPane.validate(); } } Component cpc = player.getControlPanelComponent(); if (cpc != null) { contentPane.add(cpc, BorderLayout.SOUTH); south=cpc; } else { if (south != null) { contentPane.remove(south); contentPane.validate(); } } pack(); // //setTitle(file.getName()); //to get the title of Video or Audio File } }; Time tm=new Time(30.4402403); Time tm1=new Time(5.7256199); player.addControllerListener(listener); player.setMediaTime(tm1); player.setStopTime(tm); // player.setMediaTime(new Time(5.0)); //player.setStopTime(new Time(73)); player.realize(); player.start(); } public static void main(String args[]) throws ClassNotFoundException { PlayVideo pv = new PlayVideo(); JFrame f = new JFrame("Lesson1"); f.addWindowListener(new WindowAdapter() { @Override public void windowClosing(WindowEvent e) { System.exit(0); } }); f.getContentPane().add("Center", pv); f.pack(); Dimension screenSize = Toolkit.getDefaultToolkit ().getScreenSize(); int w = 420; int h = 140; pv.setLocation(screenSize.width/2 - w/2, screenSize.height/2 - h/2); pv.setSize(w, h); pv.setVisible(true); }

3851