Technology Questions

Q:

How can you make sure your dependencies are safe ?

Answer

When writing Node.js applications, ending up with hundreds or even thousands of dependencies can easily happen.
For example, if you depend on Express, you depend on 27 other modules directly, and of course on those dependencies' as well, so manually checking all of them is not an option!


The only option is to automate the update / security audit of your dependencies. For that there are free and paid options:


1. npm outdated
2. Trace by RisingStack
3. NSP
4. GreenKeeper
5. Snyk

Report Error

View answer Workspace Report Error Discuss

1 4729
Q:

What is AIDL?What data types are supported by AIDL?

Answer

- AIDL is the abbreviation for Android Interface Definition Language. 


- It handles the interface requirements between a client and a service to communicate at the same level through interprocess communication. 


- The process involves breaking down objects into primitives that are Android understandable.


 


AIDL supports following data types:


- String


- List


- Map


- CharSequence


- All native Java data types like int,long, char and Boolean

Report Error

View answer Workspace Report Error Discuss

1 4721
Q:

Distinguish between Static vs. Dynamic HTML

Answer

- The easiest difference is static HTML once rendered cannot be changed on the other hand dynamic HTML can be changed.


- Static web pages cannot have database access but dynamic pages can be connected to database.


- Using static HTML no interactions persist between user and server but dynamic HTML has capability to interact with the user.


- Static HTML does not require server side coding but dynamic HTML requires server side coding.


- No animation, games can be developed using the static HTML but on the other hand dynamic HTML can perform this task.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 4685
Q:

The PHP Syntax is most similar to

A) Visual Basic B) VB Script
C) PERL & C D) Java Script
 
Answer & Explanation Answer: C) PERL & C

Explanation:

PHP is similar to the C style syntax in terms of keywords and language syntax.

 

If conditions, for and while loops, and function returns are similar in syntax to languages such as C, C++, C#, Java and Perl.

Report Error

View Answer Report Error Discuss

1 4682
Q:

What is Windows Workflow Foundation (WF)?

Answer

Windows Workflow Foundation (WF) is a technology that was first introduced in .NET Framework 3.0. WF consists of a programming model, a workflow runtime engine, workflow designer, a rules engine, and tools to quickly build workflow-based applications on Windows. WF facilitates the separation between the business process code and the actual implementation code.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 4679
Q:

When are you supposed to use endif to end the conditional statement?

Answer When the original if was followed by : and then the code block without braces.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 4676
Q:

Explain the ternary conditional operator in PHP?

Answer Expression preceding the ? is evaluated, if it’s true, then the expression preceding the : is executed, otherwise, the expression following : is executed.
Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 4671
Q:

What are the benefits of using of ADO.NET in .NET 4.0.

Answer

The following are the benefits of using ADO.NET in .NET 4.0 are as follows:

 =>   Language-Integrated Query (LINQ) - Adds native data-querying capabilities to .NET languages by using a syntax similar to that of SQL. This means that LINQ simplifies querying by eliminating the need to use a separate query language. LINQ is an innovative technology that was introduced in .NET Framework 3.5.
 =>   LINQ to DataSet - Allows you to implement LINQ queries for disconnected data stored in a dataset. LINQ to DataSet enables you to query data that is cached in a DataSet object. DataSet objects allow you to use a copy of the data stored in the tables of a database, without actually getting connected to the database.
=>   LINQ to SQL - Allows you to create queries for data stored in SQL server database in your .NET application. You can use the LINQ to SQL technology to translate a query into a SQL query and then use it to retrieve or manipulate data contained in tables of an SQL Server database. LINQ to SQL supports all the key functions that you like to perform while working with SQL, that is, you can insert, update, and delete information from a table.
=>   SqlClient Support for SQL Server 2008 - Specifies that with the starting of .NET Framework version 3.5 Service Pack (SP) 1, .NET Framework Data Provider for SQL Server (System.Data.SqlClient namespace) includes all the new features that make it fully compatible with SQL Server 2008 Database Engine.
=>   ADO.NET Data Platform - Specifies that with the release of .NET Framework 3.5 Service Pack (SP) 1, an Entity Framework 3.5 was introduced that provides a set of Entity Data Model (EDM) functions. These functions are supported by all the data providers; thereby, reducing the amount of coding and maintenance in your application. In .NET Framework 4.0, many new functions, such as string, aggregate, mathematical, and date/time functions have been added.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

1 4656