Thursday, December 2, 2010

Qatar Showtime

Now its showtime for Qatar  organizing 2018 World Cup .

comments are welcome .

Wednesday, December 1, 2010

wiki leaks : enforcing policy makers and rulers to recheck their systems

Theses days all news channels are covering up the news related with wiki leaks .
Do any one know the basis of news and the percentage of facts in the posts ?

Your post are welcome on this .

Thanks ,Diptendra

Sunday, November 21, 2010

Movie to see

1. The proposal :
To see use : http://www.imdb.com/title/tt1041829/

The Proposal is a romantic comedy starring Sandra Bullock and Ryan Reynolds directed by Anne Fletcher. Margaret Tate (Sandra Bullock) is the executive editor-in-chief of a book publishing company, Colden Books, who forces her assistant Andrew Paxton (Ryan Reynolds) to marry her in order to avoid being deported to Canada. He grudgingly accepts, under the condition that he is promoted to the position of editor. When the government investigates, the two are forced to spend the weekend with his parents in Alaska in order to sell the lie.
The unlikely couple heads to Alaska to meet his quirky family and the always-in-control city girl finds herself in one comedic fish-out-of-water situation after another. With an impromptu wedding in the works and an immigration official on their tails, Margaret and Andrew reluctantly vow to stick to the plan despite the precarious consequences. The family suggests they could marry the same weekend, and they reluctantly accept. They start to fall genuinely in love as they spend more and more time together.
Because of this, during the wedding ceremony, Margaret decides she cannot do this to Andrew and confesses the business arrangement in front of everyone--including the immigration officer handling their case. She is then told that she has 24 hours to get back to Canada, and thus goes back to New York to pack her things. Upon doing so, however, Andrew shows up at the office and confesses his love for her in front of the entire office staff, proposing marriage all over again.
Michael Mosley, Dale Place, Alicia Hunt, Oscar Nunez, Mary Steenburgen, Craig T. Nelson, Betty White, Denis O Hare and Aasif Mandvi also starrs.

2. Twilight :

Use : http://www.imdb.com/title/tt1099212/TWILIGHT is an action-packed, modern day love story between a vampire and a human. Bella Swan (Kristen Stewart) has always been a little bit different, never caring about fitting in with the trendy girls at her Phoenix high school. When her mother remarries and sends Bella to live with her father in the rainy little town of Forks, Washington, she doesn’t expect much of anything to change. Then she meets the mysterious and dazzlingly beautiful Edward Cullen (Robert Pattinson), a boy unlike any she’s ever met. Intelligent and witty, he sees straight into her soul. Soon, Bella and Edward are swept up in a passionate and decidedly unorthodox romance. Edward can run faster than a mountain lion, he can stop a moving car with his bare hands - and he hasn’t aged since 1918. Like all vampires, he’s immortal. But he doesn’t have fangs, and he doesn’t drink human blood; Edward and his family are unique among vampires in their lifestyle choice. To Edward, Bella is that thing he has waited 90 years for - a soul mate. But the closer they get, the more Edward must struggle to resist the primal pull of her scent, which could send him into an uncontrollable frenzy. But what will Edward & Bella do when James (Cam Gigandet), Laurent (Edi Gathegi) and Victoria (Rachelle Lefevre), the Cullens’ mortal vampire enemies, come to town, looking for her?

EJB overview

EJB Overview

Session beans execute a particular business task on behalf of a single client during a single
session. Session beans can be stateful or stateless, but are not persistent; when a client finishes
with a session bean, the bean goes away.
Entity beans represent business objects in a data store, usually a relational database system.
Persistence—loading and saving data—can be bean-managed or container-managed. More than
just an in-memory representation of a data object, entity beans have methods that model the
behaviors of the business objects they represent. Entity beans can be accessed concurrently by
multiple clients and they are persistent by definition.
The container creates an instance of the message-driven bean or it assigns one from a pool to
process the message. When the message is received in the JMS Destination, the message-driven
bean assigns an instance of itself from a pool to process the message. Message-driven beans are
not associated with any client. They simply handle messages as they arrive.

Internetworking questions

Q—
What are the layers of the OSI model?
A—
“All people seem to need data processing.”
Application, presentation, session, transport, network, data link, physical. Remember the sentence
Q—
Which layer determines path selection in an internetwork?
A—
Layer 3, the network layer.
Q—
What types of things are defined at the physical layer?
A—
physical connectors, and type of media.
Voltage levels, time of voltage changes, physical data rates, maximum transmission distances,
Q—
What is one method of mapping network addresses to MAC addresses?
A—
ARP, Hello, predictable.
Q—
Which includes more overhead, connection-oriented or connectionless services?A—Connection-oriented.

Tuxedo Administrator servers

ADMINISTRATIVE SERVERS
BBL - Bulletin Board Liaison. A server process that is started when Tuxedo application is started.
DBBL - Distinguished Bulletin Board Liaison. A BBL that plays the role of DBBL, activated when a networked Tuxedo application is started.
local machine to servers on other machines.
BRIDGE - A server process that is activated when a networked Tuxedo application is started to transfer messages from local messages from

Tuxedo Environment Variables

ENVIRONMENT VARIABLES
Commonly used Environment Variables:
TUXDIR, TUXCONFIG, APPDIR, PATH, SHLIB_PATH (Only HP-UX), TLOGDEVICE
FIELDTBLS, FLDTBLDIR, FIELDTBLS32, FLDTBLDIR32VIEWFILES32, VIEWDIR32
 

Data structure interview questions

Data Structures Interview Questions
1. What is linear and non-linear data structures?
2. what is the size of a void pointer ?

3. How is memory reserved using a declaration statement?

4. Data Structures declared as Volatile and Const

5. function f(x) is continuous

6. Data Structure - character that repeats itself

7. What would be the output of the following progam?union check{ char name[10]; int age;}A;void main(){ printf("Enter your name: "); scanf("%s",&A.name);printf("Enter your age: "); scanf("%d",&A.age);printf("Name=%s Age=%d",A.name,A.age);}

8. Why does the StackLinkedList class inherit the LinkedList class?

9. What are the various kinds of sorting techniques? Which is has least worst case?

10. What is hashing?

11. Why is it necessary to hash?

12. _____________ Memory is Volatile.

13. A Linked list can grow and shrink in size dynamically at _______.

14. Link list does not have any advantage when compared to an Array.

15. An _________ data type is a keyword of a programming language that specifies the amount of memory needed to store data and the kind of data that will be stored in that memory location.

16. What is nonvolatile memory?

17. data structures questions

18. the process of transforming one bit pattern into

19. What is the difference between declaration and definition?

20. How can a node be inserted in the middle of a linked list?
21. the way a card game player arranges his cards as he picks them up one by one, is an example of 1. bubble sort 2. selection sort 3. insertion sort 4. merge sort

22. The benefit of using a stack-linked list is that the number of nodes on the stack can increase or decrease as needed while the program runs.

23. Without using /,% and * operators. write a function to divide a number by 3.

24. if a function y=f ( x ) has an inverse function, then f ( x ) cannot be 1. symmetric about x-axis 2. an odd function 3. symmetric about y-axis 4. an even function

25. QueueLinkedList class inherit the LinkedList class.

26. What is the use of fflush() function?

27. The node in a single linked list can reference the previous node in the linked list.

28. which of the following symbol table implementation is based on the property of locality of reference ?

29. What is a Register?

30. ln E-R diagram 'the customer is paying his payment' The relationship is 1. one the many 2. many to one 3. one to one 4. none ofthese

31. Which of the following abstract data types are NOT used by Integer Abstract Data type group?

32. An array is a way to reference a series of memory locations using the ______.

33. What is a server and What is meant by server side implementation of com in Visual C++?

34. An application iterates the hashtable by calling the ______ and ______ member functions.

35. Data members of the Hashtable class stored in the private access specifier.

36. How many parts are there in a declaration statement?

37. What is a user-defined data type?

38. What happens when you push a new node onto a stack?

39. Boolean Expression

What is the difference bitween NULL AND VOID pointer?

41the anti-aliasing technique which allows shift of 1/4, 1/2 and 3/4 of a pixel diameter enabling a closer path of a line is 1. pixel phasing 2. filtering 3. intensity compensation 4. sampling technique

42. Fuzzy logic system rely on 1. crisp binary choices 2. ambiguous data 3. decision makers 4. all of them

43. which of the following is not primitive recursive but computable ?

44. what is the total number of equivalent relations that

45. Each entry in a link list is called a node TRUE or FALSE ?

46. the number of swappings needed to short the numbers 8, 22, 7, 9, 31, 19, 5, 13 in ascending order using bubble sort is 1. 11 2. 12 3. 13 4. 14

47. What is the difference between ARRAY and STACK?

48. what is abstract data type?

49. A hashtable is a table in which each entry consists of a hashed key and a value.

what is the size of char pointer (IN BYTES)
51. A stack-linked list is a data structure that uses a ______ to create a stack.

52. What is a leaf node?

53. The depth of a tree is the _______ of a tree.

54. Parent Node is also called as _____ Node.

55. A parent node is a node that branches into one or two other nodes, which are called child nodes.

56. What is a Tree?

57. The size of an array queue can change during runtime?

58. New nodes are added to the _____ of the queue.

59. LinkedList.h file is the header file that contains the definition of the Node structure and the definition of the LinkedList class.

60. Linked list C++ application is organized into three files.They are _____, ______ and _____.
61. The last member function is _____________.

62. The destructor is responsible for allocating all the memory that was allocated for the linked list.

63. What is the use of displayNodesReverse() member function?

64. Look at the following example LinkedList(){ front = NULL; back = NULL;}In this example, Both the front and back pointers are assigned a NULL value.

65. The ~Queue() member function is the Constructor ?

66. What is a linked list?

67. The dequeue process removes data from the front of the queue.

68. The isFull() member method is called within the enqueue process to determine ?

69. What is a queue ?

70. What is the purpose of the isEmpty() member method?
71. __________ Method removes the value from the top of a stack?

72. Popping removes an item from the stack.

73. _________ method places a value onto the top of a stack.

74. Allocating memory at runtime is also called as?

75. The symbol * is also called as _________________.

76. What does the symbol * signifies?

77. Pointer to a pointer is used in a program to ?

78. Why is the binary numbering system used in computing?

79. The size of a structure is determines by the Product of sizes of all primitive data types within the structure?

80. Define datastructure?
81. What is the difference between bubble sort & quick sort?

82. How do you overload Increment and decrement operators?

83. A pointer to a pointer is a variable whose value is an ________ of another _______ variable.

84. The size of a tree is the number of nodes on the tree?

85. The destroyList() member function deletes the contents of the linked list and ________________.

86. You have a new assignment to design and develop a database to track incoming and outgoing harcopy letters for your division. 35 employees are expected to use the database, ranging from clerical to managerial staff. BAsed on the information provided.What steps would you take to complete the assignment?Describe three or more exceptional features that you would design as part of the database?

87. _____ is the common programming technique used for hashing in all hashing functions.

88. How to reverse all the no using a single link list?

89. Why would you use a structure?

90. If the depth of a tree is 3 levels, then what is the Size of the Tree?
91. Node on a queue linked list have more than one data element.
92. Why is the constructor of the QueueLinkedList class empty?

93. 119 Let say that you need to access a particular node on a linked list, but yo
119 Let  say that you need to access a particular node on a linked list, but you dont know the reference to the node or the position the node has on the linked list, although you do know the data is stored in the node. You can locate the node by calling the _____ function.

94. A linked list index is ____ that represents the position of a node in a linked list.

95. The size of a queue linked list can change during runtime?

96. The front of the stack in a stack-linked list ______________.

97. Astack is a data structure that organizes data similar to how you organize dishes in a stack on your kitchen counter.
98. ________ is the maximum number of nodes that you can have on a stack-linked list.

99. What is the most efficient way of finding a loop in linklist?

100. Value of the first linked list index is _______.

50 OOPS interview questions

OOPS Interview Questions
1. Explain the different forms of Polymorphism.

2. What is the race condition?

3. Why C?

4. What is OOPS?

5. What are enumerators? and what are in-line functions? giv ans with eg.

6. what is the use of procedure overriding

7. What are the major considerations related to well-written multi-threaded applications?

8. Void pointer

9. Array Address

10. What is global constructor?
11. What is the difference between ++*p and (*p)++

12. Which languages are included in object based languages other than VB and java script

13. difference between data abstraction & encapsulation.

14. What is the difference between implicit function & explicit function.

15. Explain the Polymorphism principle.

16. What is the use/advantage of function overloading

17. why friend function cannot be used to overload the assignment operator?

18. how to convert roman number into decimal number

19. is it ternary operator in c++?
20. What is the difference between docking container and splitter container?What is tree display?Explain with sample prgms.

21. what is the difference between encapsulation and datahiding.explain with example

22. What are data model and class model in Object Oriented Approach specially in C++?

23. difference between object-oriented programming and procedure oriented programming

24. what is the memory allocation for pointer?

25. Explain the Inheritance Principle

26. what is factory class?

27. Describe the principles of OOPS

28. Why do you need abstraction?

29. Can we inherit private members of class ?

30. what is size of class having no variable & 1 function which returns int
31. how macro execution is faster than function ?

32. while copying the objects if you say X a = b and asssume that '=' operator is overloaded then what it will call, a copy constructor or operator overloading function

33. What is VOLATILE/Mutable in c++

34. How do you differentiate between a constructor and normal function?

35. Which languages are included in object based laguages other than VB and java script

36. What are the advantages of Object Oriented Modeling?

37. what are the differences between class anad object?

38. Does C also supports abstraction

39. Explain the Encapsulation principle

40. Why C or C++ Stack index starts from 0.
41. what is difference between void and null pointer. is it same?

42. How do you differentiate a constructor from a ordinary function?

43. What is linked list? Explain with example program

44. What are these three elements typing, persistence, and concurrency in oop approach while studying system analysis and design?

45. what is ASSERT STATEMENTS?
46. Define Inteface , Implement a class , method , clearly with simple examples , Instance class

47. what is dangling pointer?where it is used ? what are the advantages?

48. what is the difference between dos & windows?what is the use of overloading?

49. what is the similarities between macro and function?

50. What is the difference between instance and object?

useradd command UNIX

DESCRIPTION
      The useradd command creates a user login on the system by adding the
      appropriate entry to the /etc/passwd file and any security files,
      modifying the /etc/group file as necessary, creating a home directory,
      and copying the appropriate default files into the home directory
      depending on the command line options.  The new login remains locked
      until the passwd (see passwd(1)) command is invoked.
    New Behavior
      login will not be added to the primary group entry in the /etc/group
      file, even if the primary group is specified in the command line.
      However, the  login is added to the corresponding supplemental group
      in /etc/group file.
    Options
      The useradd command supports the following options:
           -u uid         Specifies the UID for the new user.  uid must be a
                          non-negative decimal integer less than MAXUID as
                          it is defined in the <param.h> header file.  uid
                          defaults to the next available unique number above
                          the maximum currently assigned number.  UIDs from
                          0-99 are reserved.
           -o             Allows the UID to be non-unique (i.e., a
                          duplicate).
           -g group       Specifies the integer group ID or character string
                          name of an existing group.  This defines the
                          primary group membership of the new login.  The
                          default for this option can be reset by invoking
                          useradd -D -g group.
           -G group       Specifies the integer group ID or character string
                          name of an existing group.  This defines the
                          supplemental group memberships of the new login.
                          Multiple groups may be specified as a comma
                          separated list.  Duplicates within group with the
                          -g and -G options are ignored.

RETURN VALUE
      useradd exits with one of the following values:
           0    Successful completion.
           2    Invalid command syntax.
           3    Invalid argument supplied to an option.
           4    uid is not unique (when -o is not used).
           6    The group specified with the -g option does not exist.
           9    login is not unique.
           10   Cannot modify the /etc/group file.  The login was added to
                the /etc/passwd file, but not to the /etc/group file.
           12   Unable to create the home directory (while using the -m
                option) or unable to complete the copy of skel_dir to the
                new home directory.
           13   Unable to open /etc/ptmp file or /etc/default file, or
                /etc/passwd file is non-existent.
           14   /etc/passwd, or /etc/ptmp, or /etc/default file busy.
                Another command may be modifying the /etc/passwd file.
           16   Cannot add the entry into the /etc/passwd file.
           54   Exceeding permissible limit of maximum members in a group.
                The /etc/group file is not modified.