What are the core JMS-related objects required for each JMS-enabled application?
Each JMS-enabled client must establish the following: • A connection object provided by the JMS server (the message broker) • Within a connection, one or more sessions, which provide a context for message sending and receiving • Within a session, either a queue or topic object representing the destination (the message staging area) within the message broker • Within [...]
What are the types of messaging?
There are two kinds of Messaging. Synchronous Messaging: Synchronous messaging involves a client that waits for the server to respond to a message. Asynchronous Messaging: Asynchronous messaging involves a client that does not wait for a message from the server. An event is used to trigger a message from a server.
What is MDB and What is the special feature of that?
MDB is Message driven bean, which very much resembles the Stateless session bean. The incoming and out going messages can be handled by the Message driven bean. The ability to communicate asynchronously is the special feature about the Message driven bean.
How is a java object message delivered to a non-java Client?
It is according to the specification that the message sent should be received in the same format. A non-java client cannot receive a message in the form of java object. The provider in between handles the conversion of the data type and the message is transferred to the other end.
What are the various message types supported by JMS?
Stream Messages ? Group of Java Primitives Map Messages ? Name Value Pairs. Name being a string& Value being a java primitive Text Messages ? String messages (since being widely used a separate messaging Type has been supported) Object Messages ? Group of serialize able java object Bytes Message ? Stream of uninterrupted bytes
Some messaging systems provide synchronous delivery to destinations as a mechanism for implementing reliable applications. Some systems provide clients with various forms of delivery notification so that the clients can detect dropped or ignored messages. This is not the model defined by the JMS API. JMS API messaging provides guaranteed delivery via the once-and-only-once delivery semantics [...]
Give an example of using the publish/subscribe model.
JMS can be used to broadcast shutdown messages to clients connected to the Weblogic server on a module wise basis. If an application has six modules, each module behaves like a subscriber to a named topic on the server.
What is the advantage of persistent message delivery compared to nonpersistent delivery?
If the JMS server experiences a failure, for example, a power outage, any message that it is holding in primary storage potentially could be lost. With persistent storage, the JMS server logs every message to secondary storage. (The logging occurs on the front end, that is, as part of handling the send operation from the [...]
The answers are no to the first question and yes to the second. The JMS specification does not require that one JMS provider be able to send messages directly to another provider. However, the specification does require that a JMS client must be able to accept a message created by a different JMS provider, so [...]
Explain about core validation?
During the process of XML validation two processes are followed which are 1) Reference validation and 2) Signature validation Record digest value is used to verify digital signature. In signature validation a process called Canonicalization is used, in this key info is used to verify the signature.
Explain about XML Canonicalization?
Often it happens that documents are identical in many different ways either logical of statistical. It becomes a major problem when you try to sign a digital signature on two identical documents, to eliminate this problem you have to use Canonicalization which helps people in identifying two similar documents with similar digital signature. Similar documents [...]
XML signature is recommended by w3c. It acts as a digital signature for XML documents. This technology is used by various technologies such as SAML, SOAP, etc. You can use this technology whenever you can access a specific XML document in a URL. If the signature is contained outside the document then it is called [...]
State some features of XQuery.
Some of the features which are present in XQuery language are as follows: – 1) Logical and physical data independence 2) Declarative 3) High level 4) Side effect free 5) Strongly typed language
Xquery is a useful query language which is designed to query XML data and it is very useful in making changes to query. Its subset is Xpath. This XQuery is formed from the experts of w3c. This facilitates extraction of data from many different databases. This can be rightly said that in future it will [...]
Describe about the syntax rules which form the XML documents?
Some of the basic syntax rules which are to be implemented are 1) XML documents should have a root element 2) They should have a closing tag 3) Make sure that you type exact case, as these documents are case sensitive. 4) These elements should be properly nested 5) Attribute elements must be quoted correctly.
State and explain about XML encoding errors?
When loading an XML document you have two kinds of errors they are 1) Invalid character found 2) Switch from current encoding You would obtain an invalid character found error if your XML document contains non ASCII characters. When your document contains ASCII characters make sure that you save the document as ASCII characters with encoding Switch from current [...]
How do you display XML with XSLT?
XSLT is the recommended style sheet for XML and it is very popular. To display XML with XSLT one has to convert XML into HTML before displaying it in the browser. Different browsers interpret XSLT in different ways which makes it a necessary to amend changes to XSLT on the server.
Namespaces are guided by the guidelines of w3c. These are used to uniquely identify the named elements and attributes of an XML document. As XML supports human interpreted language and structure it is necessary for namespaces to differentiate different elements present in an XML document. It is declared using XML attribute xmlns and the value [...]
DOM interface and its specifications are modulated by world wide consortium. DOM allows the user to transfer the entire content of a document into an object. In DOM the entire package is loaded into the memory and then it is modulated into nodes of tree after which the entire document is converted into an object [...]
Explain about XML data binding?
XML data binding allows the user to access the information in XML format rather than in the format of DOM. Data is referred and stored in the computer memory as an object in the form of an XML document. Some information requires different approach to store it in the format of an object. As the [...]
What is AJAXanywhere?
AJAX stands for Asynchronous Java Script and XMLHttpRequest, which will send a a request in an asynchronous way will sends the some part of data and receive the part of data what your request for.. Instead of refreshing whole page sends some parts of data and receives as the part of data you required.
What does AJAX stand for?
AJAX stands for Asynchronous JavaScript And XML.
How many types of ready states in ajax ?
5 readyStates 0 = uninitialized 1 = loading 2 = loaded 3 = interactive 4 = complete
What exactly is the W3C DOM?
The W3C Document Object Model (DOM) is defined by the W3C as the following: The Document Object Model is a platform- and language-neutral interface…
How to make a XMLHTTP Request ?
By two ways one For Internet Explorer and second one with other broswers Syntax for this is var httpRequest; if(window.XMLHttpRequest) { httpRequest = new XMLHttpRequest(); } else if (window.ActiveXObject) { // IE httpRequest = new ActiveXObject(’Microsoft.XMLHTTP’); } .
Which browsers support AJAX?
Internet Explorer 5.0 and up, Opera 7.6 and up, Netscape 7.1 and up, Firefox 1.0 and up, Safari 1.2 and up, among others. What is the role of Ajax in enhancing user experience? AJAX is not a new technology but a combination of several existing technologies in a new way. These include HTML, CSS, DOM, XML, XSLT, [...]
What are the different frameworks available In AJAX?
A good framework is “Zephyr”. It is used with php and seems to be very easy to use. Prototype.JS Framework is available with detailed documentation, its very easy to handle AJAX and JavaScript, Introduce $ concept its very simple, For Ajax specially u don’t need to check cross broswer, Open, Close and error handling through [...]
Who invented AJAX?
Microsoft first implemented the XMLHTTPRequest object in Internet Explorer 5 for Windows as an ActiveX object. It is the term coined after this support. Asynchronous javascript and XML. Nobody invented AJAX, Jesse James Garrett of Adaptive Path coined the phrase early 2005 – but the tech was already in place much earlier than that.
Does Java have support for Comet style server-side push?
Current AJAX applications use polling to communicate changes data between the server and client. Some applications, such as chat applications, stock tickers, or score boards require more immediate notifications of updates to the client. Comet is an event based low latency server side push for AJAX applications. Comet communication keeps one of the two connections [...]
Are there any security issues with AJAX?
JavaScript is in plain view to the user with by selecting view source of the page. JavaScript can not access the local filesystem without the user’s permission. An AJAX interaction can only be made with the servers-side component from which the page was loaded. A proxy pattern could be used for AJAX interactions with external [...]
Should I use an HTTP GET or POST for my AJAX calls?
AJAX requests should use an HTTP GET request when retrieving data where the data will not change for a given request URL. An HTTP POST should be used when state is updated on the server. This is in line with HTTP idempotency recommendations and is highly recommended for a consistent web application architecture
Does AJAX work with Java?
Yes, Java is a great fit for AJAX! You can use Java Enterprise Edition servers to generate AJAX client pages and to serve incoming AJAX requests, manage server side state for AJAX clients, and connect AJAX clients to your enterprise resources. The JavaServer Faces component model is a great fit for defining and using AJAX [...]
What is AJAX?
Ajax is an acronym for “Asynchronous JavaScript And XML.” Web pages are endowed with snippets of code that can access remote services (like web services) and not refresh the page. This prevents “round tripping” which is the cause for display flicker and slow response times.
How to we create an XmlHttpRequest object for Internet Explorer? How is this different for other browsers?
For Internet Explorer, an ActiveXObject is used for declaring an XmlHttpRequest object in Javascript. //Code as below for IE: xmlHttpObject = new ActiveXObject(”Msxml2.XMLHTTP”); //For Other browsers, code as below: xmlHttpObject = new XMLHttpRequest(); Note that XmlHttpObject used above is simply a variable that holds the XmlHttpRequest object for the respective browsers.
What are the properties of the XmlHttpRequest object? What are the different types of readyStates in Ajax?
i) onreadyStateChange – This function is used to process the reply from the web server. ii) readyState – This property holds the response status of the web server. There are 5 states: 0 – request not yet initialized 1 – request now set 2 – request sent 3 – request processing 4 – request completes iii) responseText – Has the data sent [...]
What is the ASP.NET Ajax Framework? What versions have been released so far?
ASP.NET AJAX is a free framework to implement Ajax in asp.net web applications, for quickly creating efficient and interactive Web applications that work across all popular browsers. The Ajax Framework is powered with 1 – Reusable Ajax Controls 2 – Support for all modern browsers 3 – Access remote services and data from the browser without tons of complicated [...]
What are Ajax Extensions?
The ASP.NET Ajax Extensions are set of Ajax-based controls that work in ASP.NET 2 (or above) based applications. Ofcourse,they also need the Ajax runtime which is actually the Ajax Framework 1.0. ASP.NET Ajax Extensions 1.0 have to be downloaded to run with ASP.NET 2.0 The new ASP.NET 3.5 Framework comes with the Ajax Library 3.5 (containing the Ajax [...]
What is the ASP.NET Control Toolkit?
Besides the Ajax Framework (which is the Ajax engine) and Ajax Extensions (which contain the default Ajax controls), there is a toolkit called the Ajax Control Toolkit available for use & download (for free). This is a collection of rich featured, highly interactive controls, created as a joint venture between Microsoft & the Developer Community.
What is Dojo?
Dojo is a third-party javascript toolkit for creating rich featured applications. Dojo is an Open Source DHTML toolkit written in JavaScript. It builds on several contributed code bases (nWidgets, Burstlib, f(m)), which is why we refer to it sometimes as a “unified” toolkit. Dojo aims to solve some long-standing historical problems with DHTML which prevented [...]
How to handle multiple or concurrent requests in Ajax?
For concurrent requests, declare separate XmlHttpRequest objects for each request. For example, for request to get data from an SQL table1, use something like this… xmlHttpObject1.Onreadystatechange = functionfromTable1(); and to get data from another table (say table2) at the same time, use xmlHttpObject2.Onreadystatechange = functionfromTable2(); Ofcourse, the XmlHttpObject needs to be opened & parameters passed too, like as [...]
As on 26-Nov-08
What is the strength of the signal transmitted by powerful cell phones?
The powerful cell phones can transmit a signal of 3 watts.
What is the frequency range used for Bluetooth in Japan?
2472 to 2497 MHz is the frequency range used for Bluetooth in Japan.
Which method is used for Data transfer?
Asynchronous Connectionless (ACL) is Data transfer method in Bluetooth
what is the total number of masters and slaves in a piconet?
1 Master and 7 Slaves.
How many SCO links are there in a piconet?
In a piconet, there can be up to three SCO links of 64,000 bits per second each.
Which Bluetooth version uses adaptive frequency hopping? Why?
In Version 1.2 Adaptive frequency hopping method is used, which improves resistance to radio interference, and provides higher transmission speed.
What are the other (competing or not) wireless technologies?
Wi-Fi, IrDa, EDGE, UWB (Ultra Wide Band)
What is a Bluetooth dongle?
A device that hangs outside of a computer, or phone to provide Bluetooth connection.
How does Bluetooth use frequency hopping for security?
Bluetooth picks a random frequency out of 79 and then hops around the range about 1600 times per second.
List some Technology characteristic of Bluetooth?
Omni directional, Adaptive output power to minimize interference, Support Synchronous & asynchronous services, Fast Frequency Hopping to avoid interference, Short data packets to maximize capacity during interface.
What is the frequency range used for Bluetooth in Europe and United States?
2402 MHz to 2480 MHz are the frequency ranges used in USA and Europe.
Which method is primarily used for Voice transfer?
Synchronous Connection Oriented (SCO) is a method primarily used for Voice transfer.
What is FEC in Bluetooth?
Forward Error Correction is a method by which Bluetooth increases its noise immunity. FEC is a method that enables a receiver to not only detect, but also correct errors in a transmission.
What are the three main types of connection used by Bluetooth?
Single slave, Master slave, Scatternet.
What is Piconet?
A collection of devices connected through Bluetooth technology in an ad hoc fashion.
What is Airport?
Airport is a wireless communications system, like Bluetooth. It is based on the IEEE 802.11 recommendation. It also uses 2.4 GHz frequency band, but its range is about 45 meters and it boasts a transmission speed of 11 Mbit/second. It is developed by Lucent Technologies.
Bluetooth signals do not interfere with our PCs or cordless phones or portables. Why?
Bluetooth uses low-power signals, it plays around in 2.45 GHz range, while most of consumer devices would be using 900 MHz.
Which technology is used in Bluetooth for avoiding interference?
Frequency hopping is the technology used in Bluetooth.
Under what frequency range does Bluetooth work?
2.45 GHz is the frequency range.
What is FCC and how does it relate to Bluetooth?
FCC is Federal Communication Commission, which issues licenses to the stations for specific frequencies. It also decides who is able to use which frequency for what purpose. Since Bluetooth is using unlicensed spectrum, FCC has no direct involvement with Bluetooth
As on 27-Nov-08
Can you explain singleton pattern?
There are situations in a project where we want only one instance of the object to be created and shared between the clients. No client can create an instance of the object from outside. There is only one instance of the class which is shared across the clients. Below are the steps to make a [...]
Can you explain shallow copy and deep copy in prototype patterns?
There are two types of cloning for prototype patterns. One is the shallow cloning which you have just read in the first question. In shallow copy only that object is cloned, any objects containing in that object is not cloned. For instance consider the figure ‘Deep cloning in action’ we have a customer class and [...]
Can you explain prototype pattern?
Prototype pattern falls in the section of creational pattern. It gives us a way to create new objects from the existing instance of the object. In one sentence we clone the existing object with its data. By cloning any changes to the cloned object does not affect the original object value. If you are thinking [...]
Can you explain builder pattern?
Builder falls under the type of creational pattern category. Builder pattern helps us to separate the construction of a complex object from its representation so that the same construction process can create different representations. Builder pattern is useful when the construction of the object is very complex. The main objective is to separate the construction [...]
Can you explain abstract factory pattern?
Abstract factory expands on the basic factory pattern. Abstract factory helps us to unite similar factory pattern classes in to one unified interface. So basically all the common factory patterns now inherit from a common abstract factory class which unifies them in a common class. All other things related to factory pattern remain same as [...]
What are design patterns?
Design patterns are documented tried and tested solutions for recurring problems in a given context. So basically you have a problem context and the proposed solution for the same. Design patterns existed in some or other form right from the inception stage of software development. Let’s say if you want to implement a sorting algorithm [...]
For a pipeline with ?n? stages, what?s the ideal throughput? What prevents us from achieving this ideal throughput?
With “n” stage pipeline the throughput should be “n” instructions. As the pipe stages can’t be perfectly balanced ( time to perform task in a pipeline stage), furthermore pipeline does involve some overheads.
Cache Size is 64KB, Block size is 32B and the cache is Two-Way Set Associative. For a 32-bit physical address, give the division between Block Offset, Index and Tag.
64k/32 = 2000 blocks 2 way set assoc- 2000/2 = 1000 lines-> 10 bits for index 32B block-> 5 bits for block offset 32-10-5= 17 bits for tag
How do you handle precise exceptions or interrupts?
Like java have a feature for handling exception handling “prime catch”.the exception like divide by zero,out of bound.
The CPU is busy but you want to stop and do some other task. How do you do it?
Arise a non maskable interrupt. Then give jump instruction to required subroutine.
what is the difference between interrupt service routine and subroutine ?
Subroutine are the part of executing processes(like any process can call a subroutine for achieve task),while the interrupt subroutine never be the part.interrupt subroutine are subroutine that are external to a process.
For a pipeline with ?n? stages, what?s the ideal throughput? What prevents us from achieving this ideal throughput?
With “n” stage pipeline the throughput should be “n” instructions. As the pipe stages can’t be perfectly balanced ( time to perform task in a pipeline stage), furthermore pipeline does involve some overheads.
What is a Snooping cache?
Snooping Cache is the CACHE CONTROLLER hardware which is used to overcome the problem of “CACHE COHERENCY”.
What are the components in a Microprocessor?
its a general purpose register. its components are one processor along with external ROM, RAM, etc
Convert a number to its two?s compliment and back
say for example 5 is a decimal no converts it into binary format is 0101 base 2 invert this binary value 1010 add 1 with this ans we will get 2’s complement of this given no is 1011 What is the difference between primary & secondary storage device?
In primary storage device the storage capacity is limited. It has a volatile memory. In secondary storage device the storage capacity is larger. It is a nonvolatile memory. Primary devices are: RAM / ROM. Secondary devices are: Floppy disc / Hard disk
What is called Scratch pad of computer?
Cache Memory is scratch pad of computer.
What is NV-RAM?
Nonvolatile Read Write Memory, also called Flash memory. It is also know as shadow RAM.
What is a compiler?
Compiler is used to translate the high-level language program into machine code at a time. It doesn.t require special instruction to store in a memory, it stores automatically. The Execution time is less compared to Interpreter.
What are the basic expansion card types?
ISA and PCI, ISA can be used only on XT, AT and ATX boards. The industry now considers ISA obsolete.
As on 28-Nov-08
What is the use of fflush() function?
Suppose we read a sentence using scanf e.g. “My name is ABC” in a string. Printing this string using a printf statement prints “My”. Go for another successive scanf. It reads from the input stream… which still is having “name is ABC”. Hence pritning the string this time shows “name”. Solution to this is a fflush statement after first printf. This [...]
Explain how performance of algorithm is analyzed?
The performance of an algorithm is analysed by the time complexity as well as its space complexity though both the complexities are trafe-offs between them. If time complexity increases then space complexity decreases & vice-versa. Also the best & worst cases of the time complexities are considered while determining the efficiency of the algorithm
Is it possible to implement trees using arrays ? If yes, how?
Yes, it is possible. Here is an example of implementing a binary tree: Consider an attay : a[n]; Place the root in first position. and let the current position to be i = 0; place left node at the position: 2i+1 place right node at the position: 2i+2. Repeat these steps.
What does abstract data type means?
If for a particular collection of data only the structure of data and the functions to be performed on the data is defined but the implementation is not defined,then such a collection of data is called Abstrct data type.
A list is ordered from smaller to largest when a sort is called. Which sort would take the longest time to execute?
I am not sure about the answer.But I think the answer is “Selection Sort” whose order is O(n^2) irrespective of the elements order.I guess all other sorts somehow depend on the order of elements
What is binary tree?
A binary tree is a tree which has every node has exactly two links i.e left and right link
What are the parts of root node?
A root node contains data part and has link part. i.e links to its child. if it is binary tree it has two links i.e left child and right child
How many different binary trees and binary search trees can be made from three nodes that contain the key values 1, 2 & 3?
for binary search tree, no of trees, (2^n)-n… here 8-3=5 trees… u can draw n see… for binary tree, no of trees n(2^n)-n here 3*5=15… replace node in each bst with other two values and see
Stack can be described as a pointer. Explain.
Because stack will contain a head pointer which will always point to the top of the Stack. All Stack Operations are done using Head Pointer. Hence Stack ca be Described as a Pointer
What do you mean by: Syntax Error, Logical Error, Runtime Error?
Syntax Error-Errors in coding which do not follw language syntax format. It can occur by human mistak in typing & due lack knowledge of language .EX – Ram are a boy. error correct- Ram is a boy. Logical Error- Here is correct, program will execute properly but not give answer correct. [...]
What does abstract data type means?
If for a particular collection of data only the structure of data and the functions to be performed on the data is defined but the implementation is not defined,then such a collection of data is called Abstrct data type.
What is the average number of comparisons in a sequential search?
f(n)= 1.Pn + 2.Pn + 3.Pn +…+ N.Pn where Pn = 1/N f(n)= 1.1/N +2.1/N + 3.1/N+….+N.1/N = (1+2+3+….+N)1/N = N(N+1)/2N = (N+1)/2
Which one is faster? A binary search of an orderd set of elements in an array or a sequential search of the elements.
binary search if of order log n where as sequential search is of order n binary search is faster
What is a data structure?
Data Structure means how the data is organised in memory
How is it possible to insert different type of elements in stack?
you ca implement stack with union datatype… u may think of structures.. but struct use storin of all values and mem allocated for all in each.. but in union only one at a time… this is right i think
Parenthesis are never needed in prefix or postfix expressions. Why?
Basically Parenthesis indicate the operations which need to be carried out first ie according to the BODMAS rule..SO in case of postfix or prefix expression they are actualy conversions of the orginal standard equation.Where the brackets have already been taken into consideration,,,and the formed prefix/postfix expression is the correct order of expansion of a given mathematical [...]
What are the parts of root node?
A root node contains data part and has link part. i.e links to its child. if it is binary tree it has two links i.e left child and right child
How would you sort a linked list?
using merge sort. http://www.chiark.greenend.org.uk/~sgtatham/algorithms/listsort.html
What is the average number of comparisons in a sequential search?
f(n)= 1.Pn + 2.Pn + 3.Pn +…+ N.Pn where Pn = 1/N f(n)= 1.1/N +2.1/N + 3.1/N+….+N.1/N = (1+2+3+….+N)1/N = N(N+1)/2N = (N+1)/2
What do you mean by: Syntax Error, Logical Error, Runtime Error?
Syntax Error-Errors in coding which do not follw language syntax format. It can occur by human mistak in typing & due lack knowledge of language .EX – Ram are a boy. error correct- Ram is a boy. Logical Error- Here is correct, program will execute properly but not give answer correct. EX- Table [...]
As on 29-Nov-08
What are the integration differences between SPS 2003 and the various Office versions?
SPS webpage can detect you have installed the Office 2003 and run local dll to implement some SPS function, e.g. multi-file upload only works when you have office 2003 installed. Integration with Office XP is gone. You will get guys telling you that you can integrate with SPSv2 if you install a backwards compatible document library – [...]
Can SharePoint compare two document versions?
“In Word 2003, you can compare documents side by side. Open two documents. Then, from the Window menu of one of them, select the Compare Side By Side command. If you have only two documents open, the command will automatically choose to compare them. If you have three or more documents open, you’ll have to [...]
What are the various Sharepoint 2003 and Exchange integration points?
This is a button on contacts or events lists that lets Outlook 2003 add a pst file named Sharepoint Folders and it links to the data on the site. It’s read-only, but you could make the home page for that PST be the Sharepoint site for easier viewing. The link to outlook feature seems more [...]
What is SharePoint from a Users Perspective?
From a Users perspective SharePoint is a way of making documents and folders on the Windows platform accessible over the web. The user visits the SharePoint Portal web page, and from there they can add documents, change documents & delete documents. Through this Portal, these documents are now available for discussion, collaboration, versioning and being [...]
What is SharePoint from an Administration Perspective?
Administering SharePoint mainly consists of setting it up, which is much easier than you expect, adding the content, which can be just dragging and dropping in whole directory structures and files, and then organizing the files better by giving them categories or other metadata. This is done either through the Web interface or through the [...]
What is SharePoint from a Technical Perspective?
Technically SharePoint illustrates neatly what Microsoft’s .net strategy is all about: integrating Windows with the Web. Microsoft has previously made accessing stuff on a PC easier, (Windows) then on a network (NT) and now on the web (.NET). SharePoint is an application written to let a user access a web accessible directory tree called the [...]
What newsgroups are available?
There are two, * microsoft.public.sharepoint.portalserver and * microsoft.public.sharepoint.portalserver.development.
Why do the workspace virtual directories show the error “stop sign” symbol in the IIS snap-in?
If World Wide Web Publishing Service (W3SVC) starts before Microsoft Exchange Information Store (MSExchangeIS), “stop sign” symbols appear under the Default Web Site folder of the Internet Information Services console in Microsoft Management Console (MMC). There is a dependency between the local paths of the SharePoint Portal Server virtual directories and the MSExchangeIS. You must start [...]
How do I open an older version of a document?
Normally, all previous versions are located in the shadow, so if you right click a published document from within the web folders, go to properties and then the third tab, versions you can view older versions. If you want to do this in code: strURL = “url of the last published version” Set oVersion = New PKMCDO.KnowledgeVersion Set prmRs [...]
How Does SharePoint work?
The browser sends a DAV packet to IIS asking to perform a document check in. PKMDASL.DLL, an ISAPI DLL, parses the packet and sees that it has the proprietary INVOKE command. Because of the existence of this command, the packet is passed off to msdmserv.exe, who in turn processes the packet and uses EXOLEDB to [...]
What are the actual advantages of SharePoint Portal Services (SPS) over SharePoint Team Services (STS)?
SharePoint Portal Services (SPS) has MUCH better document management. It has check-in, check-out, versioning, approval, publishing, subscriptions, categories, etc. STS does not have these features, or they are very scaled back. SharePoint team Services (SPS) has a better search engine, and can crawl multiple content sources. STS cannot. STS is easier to manage and much [...]
Why Sharepoint is not a viable solution for enterprise wide deployments?
Document management does not scale beyond a single server, but scales great within a single server. For example, a quad Xeon machine with 4GB of RAM works great for a document management server that has about 900,000 – 1,000,000 document, but if you need to store 50,000,000 document and want to have them all in [...]
What would you like to see in the next version of SharePoint?
A few suggestions: # SPS and STS on same machine # Tree view of Categories and Folders # General Discussion Web Part # Personalization of Dashboards # Role Customization # Email to say WHY a document has been rejected for Approval # More ways to customize the interface # Backup and restore an individual Workspaces # Filter for Visio # Better way to track activity [...]
How is SharePoint Portal Server different from the Site Server?
Site Server has search capabilities but these are more advanced using SharePoint. SPS uses digital dashboard technology which provides a nice interface for creating web parts and showing them on dashboards (pages). SS doesn’t have anything as advanced as that. The biggest difference would be SPS document management features which also integrate with web folders [...]
Does SharePoint work with NFS?
Yes and no. It can crawl documents on an NFS volume, but the sharepoint database or logs cannot be stored there.
In a development environment, you must reset IIS every time you recompile assemblies.
Licensing issues may arise due to the global availability of your assembly.
Create a custom policy file for your assemblies. For more information, see “How do I create a custom policy file?” Recommended approach.
This option is most secure. An assembly can operate with a unique policy that meets the minimum permission requirements for the assembly. By creating a custom security policy, you can ensure the destination server can run your Web Parts. Requires the most configuration of all three options. Install your assemblies in the GAC Easy to implement. This grants Full trust to [...]
How can I raise the trust level for assemblies installed in the BIN directory?
Windows SharePoint Services can use any of the following three options from ASP.NET and the CLR to provide assemblies installed in the BIN directory with sufficient permissions. The following table outlines the implications and requirements for each option. Option Pros Cons Increase the trust level for the entire virtual server. For more information, see “Setting the [...]
What does partial trust mean the Web Part developer?
If an assembly is installed into the BIN directory, the code must be ensured that provides error handling in the event that required permissions are not available. Otherwise, unhandled security exceptions may cause the Web Part to fail and may affect page rendering on the page where the Web Part appears.
Will SharePoint Portal Server and Team Services ever merge?
The products will come together because they are both developed by the Office team.
wHAT ARE YOUR your qualifications ?
Your next weapons are your qualifications. So, if you have good professional/ educational qualifications, write about them after your skills.
Write about your achievements?
Your achievements during your last jobs communicate that this is what you did for your last employers and this is what you can do if they hire you. So, write your achievements immediately after your skill set in your CV. Use some figures wherever possible. For eg, if you were responsible for recruitment in your [...]
ON WHAT skills you HAVE TO Focus
If you have switched jobs very fast (less than one year), keep the focus of your CV on the skills acquired rather than the jobs you have done. This can be done by listing your key skills on the front page immediately after your career summary.
Do you get bored of repetitive work?
The agenda of this question is to know if you can stick to a role for a significant period. To answer this question you cay say that, you understand that each job has an element of repetition but you enjoy doing your job and will give it your best.
What does growth mean to you?
This question can arise from the answer to your last question. You can answer by saying that growth according to you is broadening your experience and acquiring new skills.
What will you do if you get another job offer with a higher salary?
The purpose of this question is to know if you have a tendency to switch jobs for a couple of thousand rupees. You can answer by saying that the money does attract everybody but you will try to analyse the growth prospects in both positions. If your present job can offer you the growth you [...]
Why have you switched so many jobs?
This can be the most direct question on this subject. While answering this question you can say that: “I wanted to broaden my work experience and to achieve it I had to move out of the company”. Continue with an example explaining your logic behind it and the success you achieved with it.
What are the Job Search Tips?
* Don’t put all your eggs in one basket * Try many methods of job search * Start early for interviews * Learn how others have been successful in their job search * Learn how to think beyond your specialisation areas. * Plunge into action
What things we have to follow?
* Send the thanking letter to the company the same day * Specify in the letter the point that was discussed * Thank the Placement Agency, if any * Thank your network source, if any
what will do During The Eye Interview
* Maintain eye contact * Be attentive, listen carefully, and lean forward * Don’t lean on the table, and don’t slouch * Don’t toss your files across * Hand over your file-right side facing them * Don’t laugh or giggle but smile gently * Be polite. use the words “Please” and “thank you” * Don’t argue but can orally acknowledge
what will do While Entering The Interview Hall
* Enter confidently, not arrogantly * Shut the door gently * Smile and greet the interviewers * Shake hands only if they offer their hand
what is Waiting Hall Behaviour
* Maintain Decorum * Mingle with others politely * Avoid smoking, chewing, flirting, gossiping, defamatory comments * Greet others present * Switch off the mobile * Relax and visualise
what are Behavioural “Unfavourable” Aspects
* Lack of personal or career goals * Lack of enthusiasm and confidence * Not owning up responsibility for mistakes * Self-justification, aggressiveness * Lack ofemotional maturity * Negative and cynical attitude * Over-reacting to questions * Lacking sense of humour * Complaining about various things and previous employers
Why Do Candidates Fail In An Interview
* Poor grooming * Discourteous and ungraceful body language * Poor manners * Poor diction * Vague responses * Unappealing resume * Monetary benefits-centric approach * Lack of punctuality * Poor waiting hall behaviour
Do you have any questions for me?
Always have some questions prepared. Questions prepared where you will be an asset to the organization are good. How soon will I be able to be productive? and What type of projects will I be able to assist on? are example
Tell me about the most fun you have had on the job.
Talk about having fun by accomplishing something for the organization.
What has been your biggest professional disappointment?
Be sure that you refer to something that was beyond your control. Show acceptance and no negative feelings.
Describe your work ethic.
Emphasize benefits to the organization. Things like, determination to get the job done and work hard but enjoy your work are good.
What position do you prefer on a team working on a project?
Be honest. If you are comfortable in different roles, point that out.
What qualities do you look for in a boss?
Be generic and positive. Safe qualities are knowledgeable, a sense of humor, fair, loyal to subordinates and holder of high standards. All bosses think they have these traits.
How can I show HTML examples without them being interpreted as part of my document?
Posted:
Within the HTML example, first replace the “&” character with “&” everywhere it occurs. Then replace the “<” character with “” in the same way. Note that it may be appropriate to use the CODE and/or PRE elements when displaying HTML exampl
How can I have two sets of links with different colors?
Posted:
You can suggest this presentation in a style sheet. First, specify colors for normal links, like this: a:link {color: blue; background: white} a:visited {color: purple; background: white} a:active {color: red; background: white}
Why is there extra space before or after my table?
Posted:
This is often caused by invalid HTML syntax. Specifically, it is often caused by loose content within the table (i.e., content that is not inside a TD or TH element). There is no standard way to handle loose content within a table. Some browsers display all loose content before or after the table. When the [...]
Why doesn’t use the full browser width?
Posted:
Graphical browsers leave a narrow margin between the edge of the display area and the content. Also note that Navigator always leaves room for a scrollbar on the right, but draws the scrollbar only when the document is long enough to require scrolling. If the document does not require scrolling, then this leaves a right “margin” [...]
Can I use percentage values for ?
Posted:
The HTML 3.2 and HTML 4.0 specifications allow only integer values (representing a number of pixels) for the WIDTH attribute of the TD element. However, the HTML 4.0 DTD allows percentage (and other non-integer) values, so an HTML validator will not complain about . It should be noted that Netscape and Microsoft’s browsers interpret percentage values [...]
How can I avoid using the whole URL?
Posted:
The URL structure defines a hierarchy (or relationship) that is similar to the hierarchy of subdirectories (or folders) in the filesystems used by most computer operating systems. The segments of a URL are separated by slash characters (”/”). When navigating the URL hierarchy, the final segment of the URL (i.e., everything after the final slash) [...]
How can I use forms for pull-down navigation menus?
Posted:
There is no way to do this in HTML only; something else must process the form. JavaScript processing will work only for readers with JavaScript-enabled browsers. CGI and other server-side processing is reliable for human readers, but search engines have problems following any form-based navigation.
Can I have two or more actions in the same form?
Posted:
No. A form must have exactly one action. However, the server-side (e.g., CGI) program that processes your form submissions can perform any number of tasks (e.g., updating a database, sending email, logging a transaction) in response to a single form submission.
How can I use tables to structure forms?
Posted:
Small forms are sometimes placed within a TD element within a table. This can be a useful for positioning a form relative to other content, but it doesn’t help position the form-related elements relative to each other. To position form-related elements relative to each other, the entire table must be within the form. You cannot start [...]
How can I eliminate the extra space after a tag?
Posted:
HTML has no mechanism to control this. However, with CSS, you can set the margin-bottom of the form to 0. For example:
How do I set the focus to the first form field?
Posted:
You cannot do this with HTML. However, you can include a script after the form that sets the focus to the appropriate field, like this: document.myform.myinput.focus(); A similar approach uses to set the focus, but some browsers seem to process the ONLOAD event before the entire document (i.e., the part with the form) has been loaded.
Do I have to memorize a bunch of tags?
Posted:
No. Most programs that help you write HTML code already know most tags, and create them when you press a button. But you should understand what a tag is, and how it works. That way you can correct errors in your page more easily. e
How can I check for errors?
Posted:
HTML validators check HTML documents against a formal definition of HTML syntax and then output a list of errors. Validation is important to give the best chance of correctness on unknown browsers (both existing browsers that you haven’t seen and future browsers that haven’t been written yet). HTML checkers (linters) are also useful. These programs check [...]
WHAT IS USENET? WHAT IS NETIQUETTE?
Please subscribe to news.announce.newusers for a month or so. It’s a low-volume newsgroup, but will well repay your time. The articles there explain how to get the best use out of Usenet news, how to post, rules of “netiquette”, and so on. If you do not feel up to that, ar least read RFC 1855 [...]
WHAT HTML TUTORIALS AND REFERENCES ARE AVAILABLE?
Many people maintain links to helpful resources for HTML authors. You’ll find my list (originally by Stan Brown) at http://www.stack.nl/~boris/HTML/links.html.
WHAT SHOULD I ASK ELSEWHERE?
* General Web questions or questions about CGI and images: post in one of the groups + comp.infosystems.www.authoring.cgi + comp.infosystems.www.authoring.images + comp.infosystems.www.authoring.site-design + comp.infosystems.www.authoring.stylesheets + comp.infosystems.www.authoring.tools + comp.infosystems.www.authoring.misc + microsoft.public.inetserver.iis.activeserverpages
WHAT AND WHERE IS THE FAQ LIST?
The FAQ list for any newsgroup is the distilled wisdom of experts in the subject area of that newsgroup, who have more or less agreed on a set of answers to the questions that are frequently asked there.
WHAT MAY I ASK ABOUT HERE?
In general, HTML. This is (or is supposed to be) a narrowly focused newsgroup that covers just one of the facets of Web authorship. For related areas, see number 3 below.c.i.w.a.h.’s charter is: This newsgroup covers discussion of HyperText Markup Language (HTML) as it relates to web page authoring. Possible subjects include HTML editors, formatting tricks, [...]
What is wdbsvr.app file used for? What’s full path of this file? What’s significance of this file ?
I’ll again suggest you don’t just remember answer & try to solve mystery behind this file. First where this file exists ? You can find this file under $IAS_ORACLE_HOME/Apache/modplsql/cfg Based on file location I am sure you can say this is related to Apache, & looking into modplsql/cfg , I am sure you will say its [...]
I’m trying to `include’ a HTML document in another document…Is there a way to do this?
Yes, there are several ways to do this. But remember, HTML is not a programming language – it doesn’t have `directives’: it’s a markup language, so trying to compare it to C or Pascal is not going to be very meaningful.
As on 04-Dec-08
How can JavaScript be used to personalize or tailor a Web site to fit individual users?
JavaScript allows a Web page to perform “if-then” kinds of decisions based on browser version, operating system, user input, and, in more recent browsers, details about the screen size in which the browser is running. While a server CGI program can make some of those same kinds of decisions, not everyone has access to or [...]
How to set a HTML document’s background color?
document.bgcolor property can be set to any appropriate color.
What can JavaScript programs do?
Generation of HTML pages on-the-fly without accessing the Web server. The user can be given control over the browser like User input validation Simple computations can be performed on the client’s machine The user’s browser, OS, screen size, etc. can be detected Date and Time Handling
Where are cookies actually stored on the hard disk?
This depends on the user’s browser and OS. In the case of Netscape with Windows OS, all the cookies are stored in a single file called cookies.txt c:\Program Files\Netscape\Users\username\cookies.txt In the case of IE,each cookie is stored in a separate file namely username@website.txt. c:\Windows\Cookies\username@Website.txt
How to add Buttons in JavaScript?
The most basic and ancient use of buttons are the ” submit” and ” clear” , which appear slightly before the Pleistocene period. Notice when the ” GO!” button is pressed it submits itself to itself and appends the name in the URL. < form action=” ” name=” buttonsGalore” method=” get” > Your Name: < input type=” [...]
What are a fixed-width table and its advantages in JavaScript?
Fixed width tables are rendered by the browser based on the widths of the columns in the first row, in JavaScript resulting in a faster display in case of large tables. Use the CSS style table-layout:fixed to specify a fixed width table. If the table is not specified to be of fixed width in JavaScript, the [...]
How do you target a specific frame from a hyperlink in JavaScript?
Include the name of the frame in the target attribute of the hyperlink in JavaScript. < a href=”http://www.globalguideline.com” target=”myframe”> Global Guide Line< /a>
How to create arrays in JavaScript?
We can declare an array like this var scripts = new Array() We can add elements to this array like this scripts[0] = ” PHP” scripts[1] = ” ASP” scripts[2] = ” JavaScript” scripts[3] = ” HTML” Now our array scripts have 4 elements inside it and we can print or access them by using their index number. Note that index number [...]
How do you convert numbers between different bases in JavaScript?
Use the parseInt() function, that takes a string as the first parameter, and the base as a second parameter. So to convert hexadecimal 3F to decimal, use parseInt (” 3F” , 16)
What are JavaScript Data Types?
JavaScript Data Types are Number, String, Boolean, Function, Object, Null, Undefined
How to detect the operating system on the client machine?
In order to detect the operating system on the client machine, the navigator.appVersion string (property) should be used.
How do you submit a form using JavaScript?
Use document.forms[0].submit() (0 refers to the index of the form – if we have more than one form in a page, then the first one has the index 0, second has index 1 and so on).
What is JavaScript?
JavaScript is a general-purpose programming language designed to let programmers of all skill levels control the behavior of software objects. The language is used most widely today in Web browsers whose software objects tend to represent a variety of HTML elements in a document and the document itself. But the language can be–and is–used with [...]
Explain about the Boolean functions present in Javascript?
Three Boolean operators are present in Javascript they are 1) && 2) II 3) / All the operators are regarded as true unless the Javascript regards them as false. You can define these operators to make as statement false number0, null, undefined, or a string of length 0, etc. Boolean function performs these conversions explicitly.
Explain about strings in JavaScript?
Strings are represented as a sequence of characters in Javascript. Strings can be created when you place characters between double quotations or single quotations. Individual characters can be accessed by arrays.
Explain about defining numbers in Java Script?
Java Script represents numbers in the form of IEEE-754 doubles. This form of representation provides accuracy upto 14-15 significant digits. They represent fractions but not the decimal numbers to an extent. To perform explicit numeric conversion you can use Number constructor.
Explain about arrays in Java Script?
Array maps everything from an integer to Values. Objects map everything from values to integers, Javascript specialize in certain special functions through which they can include integer indicies in their behavior. Large indicies can be removed if the length of the array specified is very small.
Explain about Cross site scripting?
Cross site scripting raises security threats during execution and secured data transfer through web sites. It uses same origin policy. When a malicious script is made to run it discloses private information to the wrong person. This occurs because some one clicks on the request sent by the wrong doer.
What are the rare cases when Java Script will not function?
These are the following cases when Java Script will not function. 1) An old browser which doesn’t support DOM. 2) PDA or Mobile Phone will not execute Java Script. 3) Security reasons will not allow optimal performance of Jscript. 4) Speech browsers will not allow the functioning of Jscript.
What are the precautions taken by the web browsers to contain malicious activity with Java Script?
Java script activities are restricted by web browsers in two ways they are. 1) First scripts run in sandbox which performs the most basic functions such as executing or running the code or script. This doesn’t allow programming activities. 2) Scripts present in one site cannot have access to other sites; this is done with the help [...]
As on Dec 05 2008
What is XSLT?
XSLT (Extensible Stylesheet Language Transformation) is the stylesheet language for XML date
What is XSL?
A language used to transform XML based data into HTML or other presentation format for display in the web browser. XSL specifies the styling of an XML document by using XSLT to describe how the document is transformed into another XML document that uses the formatting vocabulary.
What is CDF?
CDF (Channel Definition Format) is an XML based data format used in the Microsoft internet explorere 4.0 and later to describe active channel contents and desktop contents.
What is complex data types?
An element that can contain other elements or attributes is known as Complex Data Type.
What is Data Source Object?
Data Source Object provides a way to bind HTML controls directly to an XML data island.
What is DOM?
DOM (Document Object Model) is a platform and language neutral interface that allows program & scripts to dynamically access & update the content, structure & style of the documents.
What is Document Type Definition (DTD)?
DTD (Document Type Definition) can essentially defines the rules of the document eg. which element are present and the structural relationship between the elements.
What is XML?
XML (Extensive Markup Language) is a subset of SGML that is optimized for delivery over the web.
What’s a proxy of the server object in .NET Remoting?
It’s a fake copy of the server object that resides on the client side and behaves as if it was the server. It handles the communication between real server object and the client object. This process is also known as marshaling.
What are remotable objects in .NET Remoting?
Remotable objects are the objects that can be marshaled across the application domains. You can marshal by value, where a deep copy of the object is created and then passed to the receiver. You can also marshal by reference, where just a reference to an existing object is passed.
What is a formatter?
A formatter is an object that is responsible for encoding and serializing data into messages on one end, and deserializing and decoding messages into data on the other end.
What’s SingleCall activation mode used for?
If the server object is instantiated for responding to just one single request, the request should be made in SingleCall mode.
What’s Singleton activation mode?
A single object is instantiated regardless of the number of clients accessing it. Lifetime of this object is determined by lifetime lease.
What security measures exist for .NET Remoting in ?
None. Security should be taken care of at the application level. Cryptography and other security techniques can be applied at application or server level.
What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?
Remoting is a more efficient communication exchange when you can control both ends of the application involved in the communication process. Web Services provide an open-protocol-based exchange of informaion. Web Services are best when you need to communicate with an external organization or another (non-.NET) technology.
What is DOM?
Document Object Model (DOM) is a W3C specification that defines a standard (abstract) programming API to build, navigate and update XML documents. It is a “tree-structure-based” interface. As per the DOM specification, the XML parsers (such as MSXML or Xerces), load the entire XML document into memory, before it can be processed. XPath is used [...]
What is UDDI?
UDDI is a platform-independent framework for describing services, discovering businesses, and integrating business services by using the Internet. 1. UDDI stands for Universal Description, Discovery and Integration 2. UDDI is a directory for storing information about web services 3. UDDI is a directory of web service interfaces described by [...]
What is WSDL?
WSDL (Web Services Description Language) is an XML-based language for describing Web services and how to access them.
Describe the term Channel in .Net Remoting
In .Net Remoting, an application use Channel to send message to another application which is runing in different domain or process. Before sending message, Channel converts message into appropriate format like XML or binary format. The channel that carries message(Mashalled parameter) can use protocal like TCP and HTTP. Channel can be HTTPChannel and TCPChannel. The [...]
Describe the type of remotable objects in .Net Remoting.
When client calls a method on marshal-by-value-object, the remoting system creates a copy of this object and passes the copy to the client application domain. The copy hence received can handle any method call in client domain. Using Marshal-by-value-object reduces resource consuming trip across network. Marshal-by-reference-object – When client calls a method on Marshal by reference [...]
As on 06-Dec-08
Use of process profile?
(scenario based on process profile / process group)Server o/p path override , process he can access
Where is Unicode used?
1) IBM DB2/UDB 2) Oracle 3) SQL Server
A System Manager must approve all the transactions what is this?
a) Business Event b) A Rule c) A Role d) Activity
using can be done on which servers?
a) Database Server b) App Server c) Batch Server e) Web Server
ER Diagrams represent?
Graphical Representation of Business process and Relationsb) Flowchart of tables and Fields
Which of the following are object definitions?
a) Mobile Page b) File Layout c) App Engine
People Soft clients wants to get info about PSPT where to find it?
a) Partner Alliance b) Partner Connection c) People Soft Connect d) Portal connect e) PSU (check)
File format for SQR?
a) PDF d) txt
Process Profile contains?
a) Sequence of processes b) Sequence of jobs c) batch processes
What are all stored in System Catalog?
a) SQL table b) SQL View
Meta-SQL where is it stored?
a) Temp Table b) SQL Table c) Query Table d) Dynamic(Guess: Temp Table, check People books App Engine)
Prompt table with no edit to no edit?
a) user can enter values from prompt table b) user can enter values from prompt table and default value will be populated
File formats for File Layout?
a)xml b)csv c) fixed length
What are destructive statements in SQL?
What effect would making a change to the EMPLID field in the above project have? Changes would occur globally; meaning the field is changed everywhere else in the database. b) Recreate a Table d) Recreate a View
DoSave( ) can be called from one of the following events?
FieldEdit, FieldChange, MenuItemSelected MenuItemSelected, Save Prechange & SavePostChange
Non Repudiation property can be set?
PIA-.PeopleTools-> Integration Broker->Node DefinitionApplication Designer->Message ->Properties
PeopleSoft uses for non-system(application) tables?
PeopleSoft has its own naming convention for system and non-system (application) tables. In the list below, RECORDNAME refers to the name of any table or record.Referring to the above information, which one of the following identifies the naming convention PeopleSoft uses for non-system(application) tables? PS_RECORDNAME
From the following statements which one is NOT true about Pub Broker?
Pub Broker is invoked after Pub Contractor Handler evaluates routing rules and writes contract(s)
The following is an entry from the application reviewer LOG File ?
The following is an entry from the application reviewer LOG File: start Field=PERSONAL_DATA.EMPLID-RowInit Temps=1 Stack=4 Source=233 What does the Source=233 parameter in the above LOG file entry identify? The statement being executed is line 233 of the PeopleCode program.
Your company obtained the newest Application Release of PeopleSoft ?
Your company obtained the newest Application Release of PeopleSoft, and you need to prepare for the upgrade. Upon reading the new Release Notes, you notice that changes were made to two COBOL modules (batch programs).You need to decide how to compare the current versions of these COBOL programs with the versions delivered with the new [...]
As on 24-Nov-08
whats the difference bt. .dll extension and .exe extension files?
Posted:
Yeah so dll file runs within an exe ……& an exe file run on its on……..dll—runs within another process to runexe —runs desont require anything ….ie doesnt run inside anythingGood luckif there are alternate answers plzzz post it..i think this is the right answer
How VB Implements the Disonnected Architecture as like VB.Net?
Posted:
In VB to mplement a disconnected recordset, after you have filled the recordset with the data, set its active connection property to “Nothing”. That breaks the connection to the database.You can locally also save the data of the recordset by using its Save function.
how can i extract the formated word (bold,italic,underline,font, color etc) from the msword file.using CommonDialog class
Posted:
eg: the code to invoke the default font dialog box by using the FontDialog control is given below: private sub displayfont_click(byval sender as system.object,byval e as system.eventargs) handles displayfont.click fontdialog.showDialog() textbox1.font=fontdialog1.font end sub the code to invoke the default font dialog box by instantiating the fontdialog class is: dim fdialog as new fontdialog() private sub displayfont_click(byval sender as system.object,byval e as system.eventargs) handles [...]
Differences between VB.Net and C#, related to OOPS concepts
Posted:
1. C# uses Must not Inherit, VB.Net uses sealed class 2. C# uses Internal, VB.Net uses Friend 3. VB.Net uses with events and end events 4. C# uses abstract and VB.Net uses Must Inherit
What is different between Web.Config and Machine.Config and Where it will be ?
Posted:
A web.config file is used to configure one asp .net web application. Each Asp.net application has a web.config file. A Machine.config file is used to configure the applications in a particular machine. Configuration done in machine.config file is affected on any application that runs on a particular machine. .
What is the difference between vb and vb.net ?
Posted:
1) VB.net is object oriented. 2) VB.net supports exception handling. 3) VB.net is strongly typed. 4) VB. net supports multithreading. 5) VB.net now has console applications.
what is STA in .NET?
Posted:
single-threaded apartments (the apartment model process) offers a message-based paradigm for dealing with multiple objects running concurrently. It enables you to write more efficient code by allowing a thread, while it waits for some time-consuming operation to complete, to allow another thread to be executed.Each thread in a process that is initialized as an apartment [...]
How would you implement inheritance using VB.NET ?…
Posted:
Make a class and also make one more class and 2nd class will implements the first class. It is very simple concepts of inheritance. It has also many other logics.
What is assembly in .NET and What do you mean by protected class always present in the same assembly?
Posted:
Assemblies are the building blocks of .NET applications. An assembly can consist of a single executable file or a number of executable and resource files that contain information necessary for deploying and maintaining the versions of an application. You can think of an assembly as a logical EXE or DLL. One or more assemblies are [...]
what is the diff between VB MDI form and .net MDI form?
Posted:
In VB MDI form is created by adding MDI Form to the project and adding child forms by setting MDICHILD property of the child form. In .NET there is no MDI form, any form can be made a MDI parent by setting IsMdiContainer property to TRUE Furthermore, there are changes in the properties, methods and [...]
what is the advantage of option strict on?
Visual Basic allows conversions of many data types to other data types. Data loss can occur when the value of one data type is converted to a data type with less precision or smaller capacity. A run-time error occurs if such a narrowing conversion fails. Option Strict ensures compile-time notification of these narrowing conversions so [...]
What do you mean by Serialization and Deserialization and it’s use.
To store the vb.net for data into an xml file is called Serialization.To load data from xml file to vb.net form is called DeSerialization.i have code if some one want just mail me. i will give.
What is the difference between a “jagged array” and “multidimensional array” ?
multidimentional array has same size in all dimentions but jagged is the type of multidimentional array which has different size for its dimensions. int array[3][3][3]; //multidimentional array int array[3][1][6]; //jagged array
What is Late Binding and Early Binding ?,
Late Binding: runtime binding Early Binding: compile time binding as compilation is done before executing an application so it is called early binding.
What is the exact defination of “Object”?
A real world entity which has some specific attributes related to its characteristics and operations or methods associated with its attributes.
How do you use two data readers at the same time in a vb.net windows application ?
for example: while(datareader1.read()) while(datareader2.read()) end while end while
When do we use imports.system.sqlclient and when imports.system.oledb?
system.Data.OleDB It contains the objects that we use to connect to a data source via an OleDB provider , such as OleDbConnection, OleDBCOmmand System.Data.SqlClient It contains objects that we use to connect to a data source via Tabular data stream interface provided by Microsoft Sql Server. This can be generally used to provide better [...]
What is the advantage of packaging over xcopy in .NET ?
With the help of xcopy we solve the problem of DLL HELL and com dependencieswhen we make xcopy of project all the dll, dependencies, assembly are updated automaticaly it’s a powerful feature of .NET
What is the difference between DataTable and DataSet?
data set is a collection of data table it is based on xml format ,it is used for data storing in cache as a disconnected recordset dataset is using data manipulation in cache wthout connection to database. whenever data table consist row & coloumn
What is the size of .NET object?
Each instance of a reference type has two fields maintained by the runtime – a method table pointer and a sync block. These are 4 bytes each on a 32-bit system, making a total of 8 bytes per object overhead. Obviously the instance data for the type must be added to this to get the [...]
How to retrive the tooltip by using descriptive programming in qtp?
Use the “alt” property of the object and use the getelementsbytagname method.
who you define variables and functions in VB?
variable declaration:dim a function declaration: function nameoffuntion(var) msgbox var end funtion
In active screen u can see the test objects i.e. the application at the time of recording. but in movie screen recorder u can see the screenshots of the application during runtime.
what is the differenece btwn scripting language and programming language
Scripting language is lighter than programming languages..what i want to say is in programming languages like C we need to have compiler and all. but for scripting languages these all are not required.
What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP.
i know diff b/w 8.2 and 9.2. in 9.2 syntax and comments are available. in 8.2 synax and comments r not avilable. i hard that after 8.2 than 9.2 r used in companies. now trying to use 9.5 in companies. i think we should ready to learn new things.
Which is the default Data types in VBScript?
The data type Variant no longer exists. It has been replaced with the type Object. Object types must be explicitly cast to other primitive data types.
HI how can handle dynamic image through vb script example we have to create email id fill the edit box(these latters change wrong password) i am wating your answer
BY this Script we can create an email ID in Edit box set Edbx = Browser(”BN”).page(”PN”)webtable(”TN”).childitem (RowNumber,column Number,”web edit”,Index No) Edbx.set “link”
Scripting language is lighter than programming languages..what i want to say is in programming languages like C we need to have compiler and all. but for scripting languages these all are not required.
How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script?
‘Try this Code in Only MS-Excel ‘After opened should be press Alt+F11 ’select and double click the ThisWoorkbook in VBA Project leftside of application ‘ paste this code in that Private Sub Workbook_Open() Call add(1000, 20000, c) Call subb(c, 20000) End Sub ‘Creation of Fun1 and Fun2(add and subb) Function add(a, b, c) a = a + b c = a MsgBox c End [...]
What are the differences between Visual Basic, VBA and VBScript? When would it be appropriate to use one as opposed to another?
Visual Basic is a standalone tool for creating separate software components such as executable programs, COM components and ActiveX? Controls. It is useful when building a specialised solution from scratch. VBA offers the same powerful tools as Visual Basic in the context of an existing application and is the best option for customising software that [...]
How to get the background color of a weblist?
try the following statement: Browser(”micclass:=Browser”).Page(”micclass:=Page”).Weblist (”name:=abc”).Getroproperty(”color”)
How to copy from one script to another script in qtp
Set fso=CreateObject(”Scripting.FileSystemObject”) obj.CopyFile “C:\test.txt”, “D:\test.txt” set fso = nothing
what is descriptive programming in QTP and what is environment variable in QTP? where we store and what is its use?
Following is taken from: sqaforums: Link: http://www.sqaforums.com/showflat.php? Cat=0&Number=220886&an=0&page=0#Post220886 Descriptive programming is nothing but a technique using which operations can be performed on the AUT object which are not present in the OR. For more details refer to http://bondofus.tripod.com/QTP/DP_in_QTP.doc
who you define variables and functions in VB?
variable declaration:dim a function declaration: function nameoffuntion(var) msgbox var end funtion
what is visual basic?
It is a frontend application development tool for GUI applications. Introduced by microsoft in the year of 1990.
How to write basic programs in VB Script like addition, multiplication?
function vaibhav x,y dim x, dim y, dim z, z=x*y msgbox z
Suppose by navigation I went from 1 st page to 5 page ,so Write a generic script for coming from any page to the 1st page and by executing where the page may be it will come to 1st page
To use this code for your navigation all you links are going to look like this: filethatcodeisin.php?id=page and it will actually take you to the page which you specified above. http://bondofus.tripod.com/QTP/DP_in_QTP.doc How to copy from one script to another script in qtp Set fso=CreateObject(”Scripting.FileSystemObject”) obj.CopyFile “C:\test.txt”, “D:\test.txt” set fso = nothing
What is event handling?
The actions that are performed by clicking, pressing keys, moving mouse, dragging and dropping etc are called as events. Event handling is the way to capture these events and perform the actions accordingly. 1. Explain VBScript in detail. 2. What are string functions in VBScript? 3. Explain few date [...]
Explain few date functions in VBScript.
Date(), Time(), Now(), Left(), Right(), & Mid()
What are string functions in VBScript?
Asc() – Returns ANSI Character Code Chr() – Returns Character from ANSI Code InStr() – Find a string within another InStrRev() – Find a string within another (Reverse) LCase() – Convert a string to lowercase Left() – Crops a string from left Len() – Determine the length of a string LTrim() – Remove leading spaces from a string Mid() – Crops a string Replace() [...]
Posted by c compiler | NBA.COM on November 29, 2008 at 9:37 am
[...] Untitled … C we need to have compiler and all. but for scripting languages these all are not required. What is the differene between QTP 8.2 and QTP 9.0 and QTP 9.1,Pls give me answer ASAP. Posted: i know diff b/w 8.2 and 9.2. in 9.2 syntax and comments are available. in 8.2 synax and comments r not avilable … [...]