Technology Questions

Q:

What is the maximum size of a file that can be uploaded using PHP and how can we change this?

Answer

By default the maximum size is 2MB. and we can change the following
setup at php.iniupload_max_filesize = 2M

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 2335
Q:

How will you find the 3rd max salary in the employment table?

Answer

SELECT DISTINCT(salary) FROM emp as e1 


WHERE (3) = (SELECT COUNT(DISTINCT(salary)) FROM emp as e2  WHERE e1.salary <= e2.salary)

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

1 2333
Q:

Webpages are written using

A) Win Zip B) HTML
C) A fifth generation language D) Peripherals
 
Answer & Explanation Answer: B) HTML

Explanation:

Webpages are written using HTML, (Hyper Text Marup Language). It is used for creating web applications that can be accessed over internet which contain text, graphics and hyperlinks.

Report Error

View Answer Report Error Discuss

6 2333
Q:

Explain the difference among the EXEC LINK, EXEC XCTL and Cobol II static call statements in CICS?

Answer

- Use a COBOL II CALL statement to invoke a subprogram. This method is transparent to CICS, which sees only the one load module. 


- EXEC LINK is similar to a call; it invokes a separate CICS program and ends with a RETURN to the invoking program


- EXEC XCTL which transfers control to another CICS program and does not get control 


back. 


COBOL II allows for static calls which are more efficient than the LINK instruction which establishes a new run-unit. 

Report Error

View answer Workspace Report Error Discuss

0 2328
Q:

What is Contextual Selector ?

Answer

Contextual selector addresses specific occurrence of an element.
It is a string of individual selectors separated by white space (search pattern), where only the last element in the pattern is addressed providing it matches the specified contex.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

2 2327
Q:

What is the Routing Information Protocol or RIP?

Answer

RIP is a is an interior gateway protocol that was often used in interior networks and in some degree in internet networks. It helps the router adapt to the modifications that are made in a network regarding connections. Now it become less used since more efficient protocols were implemented like OSPF or IS-IS. It is limited to a lower number of routers, a maximum of fifteen router.

Report Error

View answer Workspace Report Error Discuss

0 2327
Q:

Difference between Arraylist and Linked list?

Answer

ArrayList and LinkedList both implements List interface and maintains insertion order. Both are non synchronized classes.


 


But there are many differences between ArrayList and LinkedList classes that are given below.


 

ArrayList    V/s     LinkedList ::


 

1) ArrayList internally uses dynamic array to store the elements.


                   Whereas


LinkedList internally uses doubly linked list to store the elements.


 

2) Manipulation with ArrayList is slow because it internally uses array. If any element is removed from the array, all the bits are shifted in memory.


                   Whereas


Manipulation with LinkedList is faster than ArrayList because it uses doubly linked list so no bit shifting is required in memory.


 

3) ArrayList class can act as a list only because it implements List only.


                   Whereas


LinkedList class can act as a list and queue both because it implements List and Deque interfaces.


 

4) ArrayList is better for storing and accessing data.


                   Whereas


LinkedList is better for manipulating data.

Report Error

View answer Workspace Report Error Discuss

3 2326
Q:

What are the different models used in cluster analysis?

Answer

There are many algorithms that can be used to analyze the database to check the maintenance of all the data sets that are already present. The different types of cluster models include as follows:


- Connectivity models: these are the models that connect one cluster to another cluster. This includes the example of hierarchical clustering that is based on the distance connectivity of one model to another model. 


- Centroid models: these are the models that are used to find the clusters using the single mean vector. It includes the example of k-means algorithm.


- Distribution models: it includes the specification of the models that are statistically distributed for example multivariate normal distribution model.


- Density models: deals with the clusters that are densely connected with one another in the regions having the data space. 


- Group models: specifies the model that doesn’t provide the refined model for the output and just gives the grouping information

Report Error

View answer Workspace Report Error Discuss

0 2319