001. In Linux, how can you only see the first 14 lines of a file?
002. In Linux, what can you type at a command line to determine which shell you are using?
003. In Linux, what is the command to list ALL (hidden also) files of current directory & it’s subdirectories?
004. List out some popular linux distributions.
005. What is an ip address and what is the use of it?
006. What are the 7 layers of OSI model ?
007. What does HTML stand for?
008. What does CSS stand for?
009. What does PHP stand for?
010. What does SQL stand for?
011. What does PERL stand for ?
012. Which SQL statement is used to extract data from a database?
013. Explain about cache memory and virtual memory.
014. What is a compiler and give an example for compiler?
.
015. Diffrence between Stack and Queue?
016. What is union and structure?
017. Diffrence between pass by value and pass ny reference?
018. What is the difference between "calloc(...)" and "malloc(...)"?
019. What is the difference between "printf(...)" and "sprintf(...)"?
020. What is the difference between an Interface and an Abstract class?
021. What is the purpose of garbage collection in Java, and when is it used?
022. Explain differences between Swing and Awt.
023. Explain about Overriding, Encapsulation and Inheritence.
024. What is serialization?
025. List out different types of JDBC drivers. Briefly explain about each type.
026. Explain the life cycle methods of a Servlet.?
027. What is the difference between servlets and JSP?
028. What is Throughput, Turnaround time?
029. Explain about the paging systems?
030. What is Deadlock?
031. Explain the meaning of the expression ACID transaction?
032. In SQL a statement, How can you compare a part of the name rather than the entire name?
033. How do you delete a record from a database?
034. How do you delete a table from a database?
035. In SQL, Explain usage of "GROUP BY" clause ?
036. In SQL, Differenciate between a "where" clause and a "having" clause ?
037. What's the difference between a primary key and a unique key?
038. Explain about cursors.
039. Explain about triggers.
040.
What is a self join?
041. Explain about normalization.
042. How do we find ip address in Windows and Linux?
043. Diffrence between WAN and LAN?
044. What is protocol?
045. Diffrence between HTTP and HTTPS?
046. What are the ports associated with the following Applications/Services?
FTP
Telnet
http
ssh
smtp
047. Explain about configuration management and list out some configuration management tools.
048. What is Remote Procedure Call (RPC)?
049. Explain about Symmetric and Asymmetric Encryptions.
050. Explain about following terms.
Bug
Testcase
Thursday, November 12, 2009
Wednesday, November 11, 2009
System Admin Interview Questions
1. What port does telnet use?
2. What is SMTP?
3. How would you troubleshoot a printer?
4. How does traceroute work?
5. Walk me through everything that happens in the network from the moment you punch in www.google.com in the address bar to when the browser displays the page?
6. Can you work this weekend?
7. What kind of people are your current users? Do you like them?
8. What role do you think computer support analysts should play in the company?
9. Assuming you have to work for a living and all jobs pay the same, how would you describe the job you want?
10. When conflict arises on your team, how do you handle it?
11. How do you stay current?
12. What operating system do you prefer and why?
13. What part of the project life cycle have you worked on?
14. Describe the project or situation that best demonstrates your coding (or analytical) skills.
15. What is the differece between local, global and universal groups?
16. What is the major difference between FAT and NTFS?
17. Name the FMSO roles and their functions.
18. You’ve just been asked to create 20 new Users and update 2 GPOs, ASAP! You go to the Administrative Tools, and discover they are all gone. What do you do? What do you suspect happened?
19. What is a Global Catalog?
20. Explain the function of DNS.
21. Explain a “Two-Way Transitive” trust.
22. In speaking about trusts, what does “Non-transitive” mean?
23. Describe the lease process of DHCP.
24. Explain NTP.
25. What is the 568B wiring scheme?
26. What us your highest achievement while working in the IT field?
27. What are your short term goals to achieve?
28. You have a user call for support for the 5th time on the same issue. How would you handle the call and what would you do differently?
29. List as many ways you can think of to move a file from a Windows machine to a Linux machine.
30. Demonstrate recursiveness by implementing a factorial function.
2. What is SMTP?
3. How would you troubleshoot a printer?
4. How does traceroute work?
5. Walk me through everything that happens in the network from the moment you punch in www.google.com in the address bar to when the browser displays the page?
6. Can you work this weekend?
7. What kind of people are your current users? Do you like them?
8. What role do you think computer support analysts should play in the company?
9. Assuming you have to work for a living and all jobs pay the same, how would you describe the job you want?
10. When conflict arises on your team, how do you handle it?
11. How do you stay current?
12. What operating system do you prefer and why?
13. What part of the project life cycle have you worked on?
14. Describe the project or situation that best demonstrates your coding (or analytical) skills.
15. What is the differece between local, global and universal groups?
16. What is the major difference between FAT and NTFS?
17. Name the FMSO roles and their functions.
18. You’ve just been asked to create 20 new Users and update 2 GPOs, ASAP! You go to the Administrative Tools, and discover they are all gone. What do you do? What do you suspect happened?
19. What is a Global Catalog?
20. Explain the function of DNS.
21. Explain a “Two-Way Transitive” trust.
22. In speaking about trusts, what does “Non-transitive” mean?
23. Describe the lease process of DHCP.
24. Explain NTP.
25. What is the 568B wiring scheme?
26. What us your highest achievement while working in the IT field?
27. What are your short term goals to achieve?
28. You have a user call for support for the 5th time on the same issue. How would you handle the call and what would you do differently?
29. List as many ways you can think of to move a file from a Windows machine to a Linux machine.
30. Demonstrate recursiveness by implementing a factorial function.
Important Unix Shell Questions
1. There can be multiple Kernels and shells running on your system. True or False?
2. Why shell is called Command Interpreter?
3. Two UNIX systems may or may not use the same system calls. True or False?
4. To obtain help on any feature of the system, what are the possible help sources available?
5. Why are the directories /bin and /usr/bin usually found first in the output of echo $PATH?
6. If two commands with the same filename exist in two directories in PATH, how can they be executed.
7. How is the Current directory is indicated in the value of the PATH?
8. Use the type command with the following arguments—cd, date, pwd and ls. Which are the internal commands in the list?
9. What is the difference between an argument and an option?
10. if the command ls –all works on your system, which flavor of UNIX could you be using?
11. What does the secondary prompt look like and when does it appear?
12. You located the string crontab in a man page by searching with /crontab [Enter]. How do you find out the other occurrences of this string in the page?
13. What is a pager? Name the two standard pagers used by man.
14. If a command doesn’t seem to complete, which key will you press to interrupt it?
15. Do you need to wait for a command to finish before entering the next one?
16. What do the | and the three dots in the SYNOPSIS section of these man pages indicate as shown below?
/usr/xpg4/bin/tail [ -f | -r ]
/usr/bin/ls [ -aAbcCdfFgilLmnopqrRstux1 ] [file .. ]
17. How do you direct man to use a specific pager, say less?
18. What is a whitespace? Explain the treatment the shell metes out to a command that contains a lot of whitespace.
19. A Program file named foo exists in the current directory, but when we try to execute it by entering foo, we see the message foo: command not found. Explain how that can happen?
20. What do multiprogramming, multiuser and multitasking mean?
21. Why are many UNIX commands designed to perform simple rather than complex tasks?
2. Why shell is called Command Interpreter?
3. Two UNIX systems may or may not use the same system calls. True or False?
4. To obtain help on any feature of the system, what are the possible help sources available?
5. Why are the directories /bin and /usr/bin usually found first in the output of echo $PATH?
6. If two commands with the same filename exist in two directories in PATH, how can they be executed.
7. How is the Current directory is indicated in the value of the PATH?
8. Use the type command with the following arguments—cd, date, pwd and ls. Which are the internal commands in the list?
9. What is the difference between an argument and an option?
10. if the command ls –all works on your system, which flavor of UNIX could you be using?
11. What does the secondary prompt look like and when does it appear?
12. You located the string crontab in a man page by searching with /crontab [Enter]. How do you find out the other occurrences of this string in the page?
13. What is a pager? Name the two standard pagers used by man.
14. If a command doesn’t seem to complete, which key will you press to interrupt it?
15. Do you need to wait for a command to finish before entering the next one?
16. What do the | and the three dots in the SYNOPSIS section of these man pages indicate as shown below?
/usr/xpg4/bin/tail [ -f | -r ]
/usr/bin/ls [ -aAbcCdfFgilLmnopqrRstux1 ] [file .. ]
17. How do you direct man to use a specific pager, say less?
18. What is a whitespace? Explain the treatment the shell metes out to a command that contains a lot of whitespace.
19. A Program file named foo exists in the current directory, but when we try to execute it by entering foo, we see the message foo: command not found. Explain how that can happen?
20. What do multiprogramming, multiuser and multitasking mean?
21. Why are many UNIX commands designed to perform simple rather than complex tasks?
Linux/Unix Shell related questions
1. How do you find out what’s your shell? - echo $SHELL
2. What’s the command to find out today’s date? - date
3. What’s the command to find out users on the system? - who
4. How do you find out the current directory you’re in? - pwd
5. How do you remove a file? - rm
6. How do you remove a directory and its subdirectories - rm -rf
7. How do you find out your own username? - whoami
8. How do you send a mail message to somebody? - mail somebody@techinterviews.com -s ‘Your subject’ -c ‘cc@techinterviews.com‘
9. How do you count words, lines and characters in a file? - wc
10. How do you search for a string inside a given file? - grep string filename
11. How do you search for a string inside a directory? - grep string *
12. How do you search for a string in a directory with the subdirectories recursed? - grep -r string *
13. What are PIDs? - They are process IDs given to processes. A PID can vary from 0 to 65535.
14. How do you list currently running process? - ps
15. How do you stop a process? - kill pid
16. How do you find out about all running processes? - ps -ag
17. How do you stop all the processes, except the shell window? - kill 0
18. How do you fire a process in the background? - ./process-name &
19. How do you refer to the arguments passed to a shell script? - $1, $2 and so on. $0 is your script name.
20. What’s the conditional statement in shell scripting? - if {condition} then … fi
21. How do you do number comparison in shell scripts? - -eq, -ne, -lt, -le, -gt, -ge
22. How do you test for file properties in shell scripts? - -s filename tells you if the file is not empty, -f filename tells you whether the argument is a file, and not a directory, -d filename tests if the argument is a directory, and not a file, -w filename tests for writeability, -r filename tests for readability, -x filename tests for executability
23. How do you do Boolean logic operators in shell scripting? - ! tests for logical not, -a tests for logical and, and -o tests for logical or.
24. How do you find out the number of arguments passed to the shell script? - $#
25. What’s a way to do multilevel if-else’s in shell scripting? - if {condition} then {statement} elif {condition} {statement} fi
26. How do you write a for loop in shell? - for {variable name} in {list} do {statement} done
27. How do you write a while loop in shell? - while {condition} do {statement} done
28. How does a case statement look in shell scripts? - case {variable} in {possible-value-1}) {statement};; {possible-value-2}) {statement};; esac
29. How do you read keyboard input in shell scripts? - read {variable-name}
30. How do you define a function in a shell script? - function-name() { #some code here return }
31. How does getopts command work? - The parameters to your script can be passed as -n 15 -x 20. Inside the script, you can iterate through the getopts array as while getopts n:x option, and the variable $option contains the value of the entered option.
2. What’s the command to find out today’s date? - date
3. What’s the command to find out users on the system? - who
4. How do you find out the current directory you’re in? - pwd
5. How do you remove a file? - rm
6. How do you remove a directory and its subdirectories - rm -rf
7. How do you find out your own username? - whoami
8. How do you send a mail message to somebody? - mail somebody@techinterviews.com -s ‘Your subject’ -c ‘cc@techinterviews.com‘
9. How do you count words, lines and characters in a file? - wc
10. How do you search for a string inside a given file? - grep string filename
11. How do you search for a string inside a directory? - grep string *
12. How do you search for a string in a directory with the subdirectories recursed? - grep -r string *
13. What are PIDs? - They are process IDs given to processes. A PID can vary from 0 to 65535.
14. How do you list currently running process? - ps
15. How do you stop a process? - kill pid
16. How do you find out about all running processes? - ps -ag
17. How do you stop all the processes, except the shell window? - kill 0
18. How do you fire a process in the background? - ./process-name &
19. How do you refer to the arguments passed to a shell script? - $1, $2 and so on. $0 is your script name.
20. What’s the conditional statement in shell scripting? - if {condition} then … fi
21. How do you do number comparison in shell scripts? - -eq, -ne, -lt, -le, -gt, -ge
22. How do you test for file properties in shell scripts? - -s filename tells you if the file is not empty, -f filename tells you whether the argument is a file, and not a directory, -d filename tests if the argument is a directory, and not a file, -w filename tests for writeability, -r filename tests for readability, -x filename tests for executability
23. How do you do Boolean logic operators in shell scripting? - ! tests for logical not, -a tests for logical and, and -o tests for logical or.
24. How do you find out the number of arguments passed to the shell script? - $#
25. What’s a way to do multilevel if-else’s in shell scripting? - if {condition} then {statement} elif {condition} {statement} fi
26. How do you write a for loop in shell? - for {variable name} in {list} do {statement} done
27. How do you write a while loop in shell? - while {condition} do {statement} done
28. How does a case statement look in shell scripts? - case {variable} in {possible-value-1}) {statement};; {possible-value-2}) {statement};; esac
29. How do you read keyboard input in shell scripts? - read {variable-name}
30. How do you define a function in a shell script? - function-name() { #some code here return }
31. How does getopts command work? - The parameters to your script can be passed as -n 15 -x 20. Inside the script, you can iterate through the getopts array as while getopts n:x option, and the variable $option contains the value of the entered option.
Operating system questions
What is MUTEX ?
What isthe difference between a ‘thread’ and a ‘process’?
What is INODE?
Explain the working of Virtual Memory.
How does Windows NT supports Multitasking?
Explain the Unix Kernel.
What is Concurrency? Expain with example Deadlock and Starvation.
What are your solution strategies for “Dining Philosophers Problem” ?
Explain Memory Partitioning, Paging, Segmentation.
Explain Scheduling.
Operating System Security.
What is Semaphore?
Explain the following file systems : NTFS, Macintosh(HPFS), FAT .
What are the different process states?
What is Marshalling?
Define and explain COM?
What is Marshalling?
Difference - Loading and Linking ?
What isthe difference between a ‘thread’ and a ‘process’?
What is INODE?
Explain the working of Virtual Memory.
How does Windows NT supports Multitasking?
Explain the Unix Kernel.
What is Concurrency? Expain with example Deadlock and Starvation.
What are your solution strategies for “Dining Philosophers Problem” ?
Explain Memory Partitioning, Paging, Segmentation.
Explain Scheduling.
Operating System Security.
What is Semaphore?
Explain the following file systems : NTFS, Macintosh(HPFS), FAT .
What are the different process states?
What is Marshalling?
Define and explain COM?
What is Marshalling?
Difference - Loading and Linking ?
Basic Computer Networks Questions
Some of the Top Basic Computer Networks Questions, that must be Answered and known if you even think of attending any Networks/Network Admin Interviews.
1. Virtual meetings on Internet are called………….
2. LAN can be connected by devices called………..
3. The bit pattern …………… is the preamble of 802.3 frame format.
4. Basic SONET frame is a block of ……………. bytes.
5. The amount of thermal noise is measured by ………………..
6. Explain the Frequency Modulation.
7. What is WAN and where it is used? how it is different from LAN and MAN.
8. Explain single error detecting code with example.
9. What is Flow control? Explain.
10. Explain CSMA/CD Protocol.
11. Describe Multitasking.
12. Describe Service Primitives.
13. Explain briefly PCM and its requirements.
14. What is Concession Control describe i) Load shedding ii) Jitter Control. Under it.
15. What is QoS?
16. Token Bucket Algorithm is employed to prevent congestion. The capacity of the bucket is 250k byes Arriving rate of the token is 2MB/sec. if the maximum output rate is 25MB/sec, calculate the burst length in time.
17. Describe principles considered in the design of network layer in the internet.
18. Describe Address format used in Internet. [ With figure ]
19. A Network on the Internet has a Subnet mask of 255.255.240.0. What is the maximum No. of hosts it can handle?
20. What are basic difference between IPV4 and IPV6?
21. Describe Address Resolution Protocol, use diagram if required.
22. What is the difference between Interior gateway protocol and Exterior gateway protocol.
23. What is the function of ATM adaptation layer.
24. Illustrate the phenomenon of Silly Window Syndrome in TCP.
25. What is delayed duplicate problem?
26. Explain Unicast addresses, Multicast adresses, and broadcast address.
1. Virtual meetings on Internet are called………….
2. LAN can be connected by devices called………..
3. The bit pattern …………… is the preamble of 802.3 frame format.
4. Basic SONET frame is a block of ……………. bytes.
5. The amount of thermal noise is measured by ………………..
6. Explain the Frequency Modulation.
7. What is WAN and where it is used? how it is different from LAN and MAN.
8. Explain single error detecting code with example.
9. What is Flow control? Explain.
10. Explain CSMA/CD Protocol.
11. Describe Multitasking.
12. Describe Service Primitives.
13. Explain briefly PCM and its requirements.
14. What is Concession Control describe i) Load shedding ii) Jitter Control. Under it.
15. What is QoS?
16. Token Bucket Algorithm is employed to prevent congestion. The capacity of the bucket is 250k byes Arriving rate of the token is 2MB/sec. if the maximum output rate is 25MB/sec, calculate the burst length in time.
17. Describe principles considered in the design of network layer in the internet.
18. Describe Address format used in Internet. [ With figure ]
19. A Network on the Internet has a Subnet mask of 255.255.240.0. What is the maximum No. of hosts it can handle?
20. What are basic difference between IPV4 and IPV6?
21. Describe Address Resolution Protocol, use diagram if required.
22. What is the difference between Interior gateway protocol and Exterior gateway protocol.
23. What is the function of ATM adaptation layer.
24. Illustrate the phenomenon of Silly Window Syndrome in TCP.
25. What is delayed duplicate problem?
26. Explain Unicast addresses, Multicast adresses, and broadcast address.
Networking Interview Questions and Answers
Networking Interview Questions and Answers :
1. What is an Object server?
With an object server, the Client/Server application is written as a set of communicating objects. Client object communicate with server objects using an Object Request Broker (ORB). The client invokes a method on a remote object. The ORB locates an instance of that object server class, invokes the requested method and returns the results to the client object. Server objects must provide support for concurrency and sharing. The ORB brings it all together.
2. What is a Transaction server?
With a transaction server, the client invokes remote procedures that reside on the server with an SQL database engine. These remote procedures on the server execute a group of SQL statements. The network exchange consists of a single request/reply message. The SQL statements either all succeed or fail as a unit.
3. What is a Database Server?
With a database server, the client passes SQL requests as messages to the database server. The results of each SQL command are returned over the network. The server uses its own processing power to find the request data instead of passing all the records back to the client and then getting it find its own data. The result is a much more efficient use of distributed processing power. It is also known as SQL engine.
4. What are the most typical functional units of the Client/Server applications?
* User interface
* Business Logic and
* Shared data.
5. What are all the Extended services provided by the OS?
* Ubiquitous communications
* Network OS extension
* Binary large objects (BLOBs)
* Global directories and Network yellow pages
* Authentication and Authorization services
* System management
* Network time
* Database and transaction services
* Internet services
* Object- oriented services
6. What are Triggers and Rules?
Triggers are special user defined actions usually in the form of stored procedures, that are automatically invoked by the server based on data related events. It can perform complex actions and can use the full power of procedural languages.
A rule is a special type of trigger that is used to perform simple checks on data.
7. What is meant by Transparency?
Transparency really means hiding the network and its servers from the users and even the application programmers.
8. What are TP-Lite and TP-Heavy Monitors?
TP-Lite is simply the integration of TP Monitor functions in the database engines. TP-Heavy are TP Monitors which supports the Client/Server architecture and allow PC to initiate some very complex multiserver transaction from the desktop.
9. What are the two types of OLTP?
TP lite, based on stored procedures. TP heavy, based on the TP monitors.
10. What is a Web server?
This new model of Client/Server consists of thin, protable, "universal" clients that talk to superfat servers. In the simplet form, a web server returns documents when clients ask for them by name. The clients and server communicate using an RPC-like protocol called HTTP.
11. What are Super servers?
These are fully-loaded machines which includes multiprocessors, high-speed disk arrays for intervive I/O and fault tolerant features.
12. What is a TP Monitor?
There is no commonly accepted definition for a TP monitor. According to Jeri Edwards' a TP Monitor is "an OS for transaction processing".
13. TP Monitor does mainly two things extremely well. They are Process management and Transaction management.?
They were originally introduced to run classes of applications that could service hundreds and sometimes thousands of clients. TP Monitors provide an OS - on top of existing OS - that connects in real time these thousands of humans with a pool of shared server processes.
14. What is meant by Asymmetrical protocols?
There is a many-to-one relationship between clients and server. Clients always initiate the dialog by requesting a service. Servers are passively awaiting for requests from clients.
15. What are the types of Transparencies?
The types of transparencies the NOS middleware is expected to provide are:-
* Location transparency
* Namespace transparency
* Logon transparency
* Replication transparency
* Local/Remote access transparency
* Distributed time transparency
* Failure transparency and
* Administration transparency.
16. What is the difference between trigger and rule?
The triggers are called implicitly by database generated events, while stored procedures are called explicitly by client applications.
17. What are called Transactions?
The grouped SQL statements are called Transactions (or) A transaction is a collection of actions embused with ACID properties.
18. What are the building blocks of Client/Server?
* The client
* The server and
* Middleware.
19. Explain the building blocks of Client/Server?
The client side building block runs the client side of the application.
The server side building block runs the server side of the application.
20. The middleware buliding block runs on both the client and server sides of an application. It is broken into three categories:-
* Transport stack
* Network OS
* Service-specific middleware.
21. What are all the Base services provided by the OS?
* Task preemption
* Task priority
* Semaphores
* Interprocess communications (IPC)
* Local/Remote Interprocess communication
* Threads
* Intertask protection
* Multiuser
* High performance file system
* Efficient memory management and
* Dynamically linked Run-time extensions.
22. What are the roles of SQL?
* SQL is an interactive query language for ad hoc database queries.
* SQL is a database programming language.
* SQL is a data definition and data administration language.
* SQL is the language of networked database servers
* SQL helps protect the data in a multi-user networked environment.
* Because of these multifacted roles it plays, physicists might call SQL as "The grand unified theory of database".
23. What is Structured Query Langauge (SQL)?
SQL is a powerful set-oriented language which was developed by IBM research for the databases that adhere to the relational model. It consists of a short list of powerful, yet highly flexible, commands that can be used to manipulate information collected in tables. Through SQL, we can manipulate and control sets of records at a time.
24. What are the characteristics of Client/Server?
* Service
* Shared resources
* Asymmentrical protocols
* Transparency of location
* Mix-and-match
* Message based exchanges
* Encapsulation of services
* Scalability
* Integrity
Client/Server computing is the ultimate "Open platform". It gives the freedom to mix-and-match components of almost any level. Clients and servers are loosely coupled systems that interact through a message-passing mechanism.
25. What is Remote Procedure Call (RPC)?
RPC hides the intricacies of the network by using the ordinary procedure call mechanism familiar to every programmer. A client process calls a function on a remote server and suspends itself until it gets back the results. Parameters are passed like in any ordinary procedure. The RPC, like an ordinary procedure, is synchoronous. The process that issues the call waits until it gets the results.
Under the covers, the RPC run-time software collects values for the parameters, forms a message, and sends it to the remote server. The server receives the request, unpack the parameters, calls the procedures, and sends the reply back to the client. It is a telephone-like metaphor.
26. What are the main components of Transaction-based Systems?
* Resource Manager
* Transaction Manager and
* Application Program.
27. What are the three types of SQL database server architecture?
* Process-per-client Architecture. (Example: Oracle 6, Informix )
* Multithreaded Architecture. (Example: Sybase, SQL server)
* Hybrid Architecture (Example: Oracle 7)
28. What are the Classification of clients?
Non-GUI clients - Two types are:-
1. Non-GUI clients that do not need multi-tasking
(Example: Automatic Teller Machines (ATM), Cell phone)
2. Non-GUI clients that need multi-tasking
(Example: ROBOTs)
GUI clients
OOUI clients
29. What are called Non-GUI clients, GUI Clients and OOUI Clients?
Non-GUI Client: These are applications, generate server requests with a minimal amount of human interaction.
GUI Clients: These are applicatoins, where occassional requests to the server result from a human interacting with a GUI
(Example: Windows 3.x, NT 3.5)
OOUI clients : These are applications, which are highly-iconic, object-oriented user interface that provides seamless access to information in very visual formats.
(Example: MAC OS, Windows 95, NT 4.0)
30. What is Message Oriented Middleware (MOM)?
MOM allows general purpose messages to be exchanged in a Client/Server system using message queues. Applications communicate over networks by simply putting messages in the queues and getting messages from queues. It typically provides a very simple high level APIs to its services.
MOM's messaging and queuing allow clients and servers to communicate across a network without being linked by a private, dedicated, logical connection. The clients and server can run at different times. It is a post-office like metaphor.
31. What is meant by Middleware?
Middleware is a distributed software needed to support interaction between clients and servers. In short, it is the software that is in the middle of the Client/Server systems and it acts as a bridge between the clients and servers. It starts with the API set on the client side that is used to invoke a service and it covers the transmission of the request over the network and the resulting response.
It neither includes the software that provides the actual service - that is in the servers domain nor the user interface or the application login - that's in clients domain.
32. What are the functions of the typical server program?
It waits for client-initiated requests. Executes many requests at the same time. Takes care of VIP clients first. Initiates and runs background task activity. Keeps running. Grown bigger and faster.
33. What is meant by Symmentric Multiprocessing (SMP)?
It treats all processors as equal. Any processor can do the work of any other processor. Applications are divided into threads that can run concurrently on any available processor. Any processor in the pool can run the OS kernel and execute user-written threads.
34. What are Service-specific middleware?
It is needed to accomplish a particular Client/Server type of services which includes:-
* Database specific middleware
* OLTP specific middleware
* Groupware specific middleware
* Object specific middleware
* Internet specific middleware and
* System management specific middleware.
35. What are General Middleware?
It includes the communication stacks, distributed directories, authentication services, network time, RPC, Queuing services along with the network OS extensions such as the distributed file and print services.
36. What is meant by Asymmetric Multiprocessing (AMP)?
It imposses hierarchy and a division of labour among processors. Only one designated processor, the master, controls (in a tightly coupled arrangement) slave processors dedicated to specific functions.
37. What is OLTP?
In the transaction server, the client component usually includes GUI and the server components usually consists of SQL transactions against a database. These applications are called OLTP (Online Transaction Processing) OLTP Applications typically,
Receive a fixed set of inputs from remote clients. Perform multiple pre-compiled SQL comments against a local database. Commit the work and Return a fixed set of results.
38. What is meant by 3-Tier architecture?
In 3-tier Client/Server systems, the application logic (or process) lives in the middle tier and it is separated from the data and the user interface. In theory, the 3-tier Client/Server systems are more scalable, robust and flexible.
Example: TP monitor, Web.
39. What is meant by 2-Tier architecture?
In 2-tier Client/Server systems, the application logic is either burried inside the user interface on the client or within the database on the server.
Example: File servers and Database servers with stored procedures.
40. What is Load balancing?
If the number of incoming clients requests exceeds the number of processes in a server class, the TP Monitor may dynamically start new ones and this is called Load balancing.
41. What are called Fat clients and Fat servers?
If the bulk of the application runs on the Client side, then it is Fat clients. It is used for decision support and personal software.
If the bulk of the application runs on the Server side, then it is Fat servers. It tries to minimize network interchanges by creating more abstract levels of services.
42. What is meant by Horizontal scaling and Vertical scaling?
Horizontal scaling means adding or removing client workstations with only a slight performance impact. Vertical scaling means migrating to a larger and faster server machine or multiservers.
43. What is Groupware server?
Groupware addresses the management of semi-structured information such as text, image, mail, bulletin boards and the flow of work. These Client/Server systems have people in direct contact with other people.
44. What are the two broad classes of middleware?
* General middleware
* Service-specific middleware.
45. What are the types of Servers?
* File servers
* Database servers Transaction servers Groupware servers
* Object servers Web servers.
46. What is a File server?
File servers are useful for sharing files across a network. With a file server, the client passes requests for file records over nerwork to file server.
47. What are the five major technologies that can be used to create Client/Server applications?
* Database Servers
* TP Monitors
* Groupware
* Distributed Objects
* Intranets.
48. What is Client/Server?
Clients and Servers are separate logical entities that work together over a network to accomplish a task. Many systems with very different architectures that are connected together are also called Client/Server.
49. List out the benefits obtained by using the Client/Server oriented TP Monitors?
* Client/Server applications development framework.
* Firewalls of protection.
* High availability.
* Load balancing.
* MOM integration.
* Scalability of functions.
* Reduced system cost.
50. What are the services provided by the Operating System?
Extended services - These are add-on modular software components that are layered on top of base service.
1. What is an Object server?
With an object server, the Client/Server application is written as a set of communicating objects. Client object communicate with server objects using an Object Request Broker (ORB). The client invokes a method on a remote object. The ORB locates an instance of that object server class, invokes the requested method and returns the results to the client object. Server objects must provide support for concurrency and sharing. The ORB brings it all together.
2. What is a Transaction server?
With a transaction server, the client invokes remote procedures that reside on the server with an SQL database engine. These remote procedures on the server execute a group of SQL statements. The network exchange consists of a single request/reply message. The SQL statements either all succeed or fail as a unit.
3. What is a Database Server?
With a database server, the client passes SQL requests as messages to the database server. The results of each SQL command are returned over the network. The server uses its own processing power to find the request data instead of passing all the records back to the client and then getting it find its own data. The result is a much more efficient use of distributed processing power. It is also known as SQL engine.
4. What are the most typical functional units of the Client/Server applications?
* User interface
* Business Logic and
* Shared data.
5. What are all the Extended services provided by the OS?
* Ubiquitous communications
* Network OS extension
* Binary large objects (BLOBs)
* Global directories and Network yellow pages
* Authentication and Authorization services
* System management
* Network time
* Database and transaction services
* Internet services
* Object- oriented services
6. What are Triggers and Rules?
Triggers are special user defined actions usually in the form of stored procedures, that are automatically invoked by the server based on data related events. It can perform complex actions and can use the full power of procedural languages.
A rule is a special type of trigger that is used to perform simple checks on data.
7. What is meant by Transparency?
Transparency really means hiding the network and its servers from the users and even the application programmers.
8. What are TP-Lite and TP-Heavy Monitors?
TP-Lite is simply the integration of TP Monitor functions in the database engines. TP-Heavy are TP Monitors which supports the Client/Server architecture and allow PC to initiate some very complex multiserver transaction from the desktop.
9. What are the two types of OLTP?
TP lite, based on stored procedures. TP heavy, based on the TP monitors.
10. What is a Web server?
This new model of Client/Server consists of thin, protable, "universal" clients that talk to superfat servers. In the simplet form, a web server returns documents when clients ask for them by name. The clients and server communicate using an RPC-like protocol called HTTP.
11. What are Super servers?
These are fully-loaded machines which includes multiprocessors, high-speed disk arrays for intervive I/O and fault tolerant features.
12. What is a TP Monitor?
There is no commonly accepted definition for a TP monitor. According to Jeri Edwards' a TP Monitor is "an OS for transaction processing".
13. TP Monitor does mainly two things extremely well. They are Process management and Transaction management.?
They were originally introduced to run classes of applications that could service hundreds and sometimes thousands of clients. TP Monitors provide an OS - on top of existing OS - that connects in real time these thousands of humans with a pool of shared server processes.
14. What is meant by Asymmetrical protocols?
There is a many-to-one relationship between clients and server. Clients always initiate the dialog by requesting a service. Servers are passively awaiting for requests from clients.
15. What are the types of Transparencies?
The types of transparencies the NOS middleware is expected to provide are:-
* Location transparency
* Namespace transparency
* Logon transparency
* Replication transparency
* Local/Remote access transparency
* Distributed time transparency
* Failure transparency and
* Administration transparency.
16. What is the difference between trigger and rule?
The triggers are called implicitly by database generated events, while stored procedures are called explicitly by client applications.
17. What are called Transactions?
The grouped SQL statements are called Transactions (or) A transaction is a collection of actions embused with ACID properties.
18. What are the building blocks of Client/Server?
* The client
* The server and
* Middleware.
19. Explain the building blocks of Client/Server?
The client side building block runs the client side of the application.
The server side building block runs the server side of the application.
20. The middleware buliding block runs on both the client and server sides of an application. It is broken into three categories:-
* Transport stack
* Network OS
* Service-specific middleware.
21. What are all the Base services provided by the OS?
* Task preemption
* Task priority
* Semaphores
* Interprocess communications (IPC)
* Local/Remote Interprocess communication
* Threads
* Intertask protection
* Multiuser
* High performance file system
* Efficient memory management and
* Dynamically linked Run-time extensions.
22. What are the roles of SQL?
* SQL is an interactive query language for ad hoc database queries.
* SQL is a database programming language.
* SQL is a data definition and data administration language.
* SQL is the language of networked database servers
* SQL helps protect the data in a multi-user networked environment.
* Because of these multifacted roles it plays, physicists might call SQL as "The grand unified theory of database".
23. What is Structured Query Langauge (SQL)?
SQL is a powerful set-oriented language which was developed by IBM research for the databases that adhere to the relational model. It consists of a short list of powerful, yet highly flexible, commands that can be used to manipulate information collected in tables. Through SQL, we can manipulate and control sets of records at a time.
24. What are the characteristics of Client/Server?
* Service
* Shared resources
* Asymmentrical protocols
* Transparency of location
* Mix-and-match
* Message based exchanges
* Encapsulation of services
* Scalability
* Integrity
Client/Server computing is the ultimate "Open platform". It gives the freedom to mix-and-match components of almost any level. Clients and servers are loosely coupled systems that interact through a message-passing mechanism.
25. What is Remote Procedure Call (RPC)?
RPC hides the intricacies of the network by using the ordinary procedure call mechanism familiar to every programmer. A client process calls a function on a remote server and suspends itself until it gets back the results. Parameters are passed like in any ordinary procedure. The RPC, like an ordinary procedure, is synchoronous. The process that issues the call waits until it gets the results.
Under the covers, the RPC run-time software collects values for the parameters, forms a message, and sends it to the remote server. The server receives the request, unpack the parameters, calls the procedures, and sends the reply back to the client. It is a telephone-like metaphor.
26. What are the main components of Transaction-based Systems?
* Resource Manager
* Transaction Manager and
* Application Program.
27. What are the three types of SQL database server architecture?
* Process-per-client Architecture. (Example: Oracle 6, Informix )
* Multithreaded Architecture. (Example: Sybase, SQL server)
* Hybrid Architecture (Example: Oracle 7)
28. What are the Classification of clients?
Non-GUI clients - Two types are:-
1. Non-GUI clients that do not need multi-tasking
(Example: Automatic Teller Machines (ATM), Cell phone)
2. Non-GUI clients that need multi-tasking
(Example: ROBOTs)
GUI clients
OOUI clients
29. What are called Non-GUI clients, GUI Clients and OOUI Clients?
Non-GUI Client: These are applications, generate server requests with a minimal amount of human interaction.
GUI Clients: These are applicatoins, where occassional requests to the server result from a human interacting with a GUI
(Example: Windows 3.x, NT 3.5)
OOUI clients : These are applications, which are highly-iconic, object-oriented user interface that provides seamless access to information in very visual formats.
(Example: MAC OS, Windows 95, NT 4.0)
30. What is Message Oriented Middleware (MOM)?
MOM allows general purpose messages to be exchanged in a Client/Server system using message queues. Applications communicate over networks by simply putting messages in the queues and getting messages from queues. It typically provides a very simple high level APIs to its services.
MOM's messaging and queuing allow clients and servers to communicate across a network without being linked by a private, dedicated, logical connection. The clients and server can run at different times. It is a post-office like metaphor.
31. What is meant by Middleware?
Middleware is a distributed software needed to support interaction between clients and servers. In short, it is the software that is in the middle of the Client/Server systems and it acts as a bridge between the clients and servers. It starts with the API set on the client side that is used to invoke a service and it covers the transmission of the request over the network and the resulting response.
It neither includes the software that provides the actual service - that is in the servers domain nor the user interface or the application login - that's in clients domain.
32. What are the functions of the typical server program?
It waits for client-initiated requests. Executes many requests at the same time. Takes care of VIP clients first. Initiates and runs background task activity. Keeps running. Grown bigger and faster.
33. What is meant by Symmentric Multiprocessing (SMP)?
It treats all processors as equal. Any processor can do the work of any other processor. Applications are divided into threads that can run concurrently on any available processor. Any processor in the pool can run the OS kernel and execute user-written threads.
34. What are Service-specific middleware?
It is needed to accomplish a particular Client/Server type of services which includes:-
* Database specific middleware
* OLTP specific middleware
* Groupware specific middleware
* Object specific middleware
* Internet specific middleware and
* System management specific middleware.
35. What are General Middleware?
It includes the communication stacks, distributed directories, authentication services, network time, RPC, Queuing services along with the network OS extensions such as the distributed file and print services.
36. What is meant by Asymmetric Multiprocessing (AMP)?
It imposses hierarchy and a division of labour among processors. Only one designated processor, the master, controls (in a tightly coupled arrangement) slave processors dedicated to specific functions.
37. What is OLTP?
In the transaction server, the client component usually includes GUI and the server components usually consists of SQL transactions against a database. These applications are called OLTP (Online Transaction Processing) OLTP Applications typically,
Receive a fixed set of inputs from remote clients. Perform multiple pre-compiled SQL comments against a local database. Commit the work and Return a fixed set of results.
38. What is meant by 3-Tier architecture?
In 3-tier Client/Server systems, the application logic (or process) lives in the middle tier and it is separated from the data and the user interface. In theory, the 3-tier Client/Server systems are more scalable, robust and flexible.
Example: TP monitor, Web.
39. What is meant by 2-Tier architecture?
In 2-tier Client/Server systems, the application logic is either burried inside the user interface on the client or within the database on the server.
Example: File servers and Database servers with stored procedures.
40. What is Load balancing?
If the number of incoming clients requests exceeds the number of processes in a server class, the TP Monitor may dynamically start new ones and this is called Load balancing.
41. What are called Fat clients and Fat servers?
If the bulk of the application runs on the Client side, then it is Fat clients. It is used for decision support and personal software.
If the bulk of the application runs on the Server side, then it is Fat servers. It tries to minimize network interchanges by creating more abstract levels of services.
42. What is meant by Horizontal scaling and Vertical scaling?
Horizontal scaling means adding or removing client workstations with only a slight performance impact. Vertical scaling means migrating to a larger and faster server machine or multiservers.
43. What is Groupware server?
Groupware addresses the management of semi-structured information such as text, image, mail, bulletin boards and the flow of work. These Client/Server systems have people in direct contact with other people.
44. What are the two broad classes of middleware?
* General middleware
* Service-specific middleware.
45. What are the types of Servers?
* File servers
* Database servers Transaction servers Groupware servers
* Object servers Web servers.
46. What is a File server?
File servers are useful for sharing files across a network. With a file server, the client passes requests for file records over nerwork to file server.
47. What are the five major technologies that can be used to create Client/Server applications?
* Database Servers
* TP Monitors
* Groupware
* Distributed Objects
* Intranets.
48. What is Client/Server?
Clients and Servers are separate logical entities that work together over a network to accomplish a task. Many systems with very different architectures that are connected together are also called Client/Server.
49. List out the benefits obtained by using the Client/Server oriented TP Monitors?
* Client/Server applications development framework.
* Firewalls of protection.
* High availability.
* Load balancing.
* MOM integration.
* Scalability of functions.
* Reduced system cost.
50. What are the services provided by the Operating System?
Extended services - These are add-on modular software components that are layered on top of base service.
Subscribe to:
Posts (Atom)