answersLogoWhite

0

📱

.NET Programming

.NET Programming involves the use of the .NET Framework, a software framework for Microsoft Windows operating systems. The framework supports several programming languages. The .NET library is available to all the programming languages that .NET supports.

607 Questions

How can you limit the size of dropdown list using aspnet if there is 20 items and you want to view only ten items rest is viewed by scrolling?

In Dropdown list, you can see one item at a time only. If you are asking how to limit the number of drop down rows to 10, you can't. The ASP .NET DropDownList renders as an HTML Select and it displays all items when the dropdown button is clicked.

However, if you are talking about list box then ,

Increase or Decrease the height of the listbox so that it shows more or less items...

Use stylesheets...

Why do we need conceptual framework?

Conceptual Framework is a structure of objective and ideas. With conceptual framework, it is easy to determine how profit should be measured and number of standards, principles and emphasis are reduced.

What is the difference between dot net and php?

Liprat Consulting offers Basic and Advanced PHP Training course in Noida. Our Faculties have more then 5 to 10 year industrial experience.Our Placements Records is Excellent till now.We also provide Career Consulting & Guidelines for our students. Call us for any query at 9958153868

What is the difference between net profit and net income?

Net Profit and Net Income are interchangeable terms.

I think all the taxes are include in Income. and in net profit means no any tax.

Ex.,. my income is 100 rs and my net profit is 90..10 rs deduct in tax.

I don't agree with you.

net income

Definition 1

In business, what remains after subtracting all the costs(namely, business, depreciation, interest, and taxes) from a company's revenues. Net income is sometimes called the bottom line. also called earnings or net profit.

Definition 2

For an individual, gross income minus taxes, allowances, and deductions. An individual's net income is used to determine how much income tax is owed.

net profit

Definition

Often referred to as the bottom line, net profit is calculated by subtracting a company's total expensesfrom total revenue, thus showing what the company has earned (or lost) in a given period of time (usually one year). also called net income or net earnings.

In an Income statement / Profit or loss account, net profit is calculated after deducting tax (go through any annual report of an organization).

(source: Investorwords.com)

How net write a program to identify whether a character entered by a user is a vowel or constant?

in semi-pseudo code:

get character

//convert uppercase letter to lowercase letter

if( 65 <= (int) character <= 90)

character ^ 32

//check that a letter was given

if( 97 <= (int) character <= 122)

{

switch(character)

{

case a:

case e:

case i:

case o:

case u:

output "vowel"

break;

case y:

output "consonant and/or vowel"

break;

default:

output "consonant"

break;

}

}

else

output "not a letter"

What is thread in computing?

a very small twist of flax,wool,cotton, silk or other fibrous substance, drawn out to considerable length; a compound cord consisting of two or more single yarns doubled, or joined together, and twisted.

What does NET framework comprised off?

From the above discussion, you can broadly make out that the .NET Framework is an environment for the developers. It mainly comprised of programming methodology and technologies. To understand the .NET Framework, we should explore three major areas

l Programming Methodologies

l Platform Technologies

l Code Execution

Programming Methodology

On the Programming Methodology side, an interesting thing about .NET is that it allows for mixed language programming. By designing from the ground up a specification that is common to all the languages hat work in .NET Framework, by designing a type system that all those languages support, and by specifically designing an intermediate language that all those languages compile into; before they compile in native code.

Platform Technologies

In Platform technologies, we will mainly go through -- ADORNED, Internet technologies and User interface designing. The following paragraphs talks about these topics.

Code Execution

The interesting thing about code execution on .NET framework is, when we hear about .NET, we think, that it is particular to Interlaced computers. But it is certainly not. The standardized common language infrastructure is completely architecture-neutral. The whole purpose of making it standard and putting it in the public domain was so that that infrastructure could be implemented on any platform whatsoever. The whole idea is that we are neutral in terms of the architecture.

Who develops software?

Software developers are responsible for developing software. Software developers are involved in all phase of developing software and they take part in researching and designing as well.

What is the difference between .net and .NET framework?

The .NET Framework and .NET are related but different technologies:

  • .NET Framework - This is Microsoft's original implementation of .NET for building applications that run on Windows. The .NET Framework provides a runtime environment and libraries for .NET applications. It was first released in 2002.

  • .NET - This is the current evolution of the original .NET Framework. Whereas .NET Framework was Windows-only, .NET is a cross-platform, open-source implementation that runs on Windows, Linux, macOS, etc. It supports more modern application scenarios like cloud, mobile, and web apps.

Some key differences:

  • .NET Framework only runs on Windows. .NET runs cross-platform.
  • .NET Framework is closed source. .NET is open source.
  • .NET Framework is only supported by Microsoft. .NET is supported by Microsoft and the .NET community.
  • .NET Framework is legacy technology. .NET represents the current direction.
  • .NET has unified frameworks like .NET Core and .NET 5+. .NET Framework had separate versions like .NET Framework 3.5, 4.0, etc.

In summary:

  • .NET Framework is the original Windows-only .NET released in 2002.

  • .NET is the new open-source, cross-platform version of .NET, representing the future direction.

Read full guide at Msckey blog.

Explain the term Recursion with example?

Recursion is when a function (procedure) calls itself.

Example:

int Fib (int n)

{

if ((n==1)(n==0))return 1;

else return Fib(n-1) + Fib(n-2);

}

Is it possible to define a java static method inside a main method?

Because, the main method is the starting point of the java program and if we need an object of that class even before the main can be invoked, it is not possible. Hence it is declared static so that the JVM Can acess the main method without having to instantiate that particular class

Why the .net is platform dependent?

Ya .Net is platform independent as well as dependent.

Once the code is written , it is then compiled into MSIL (Microsoft Intermediate Language) which is independent of platform, here the CLR (Common Language Runtime) comes into picture and it consists of JIT(Just In Time)compiler which is going to convert the MSIL code into platform/device specific code. So We have CLR for Windows and CLR for Linux. Here its dependent of the type of machine its running on. So its Dependent.

Write a program find greatest no between three no?

public class MathExtension {

public static decimal getGreatest(decimal d1, decimal d2, decimal d3) {

decimal temp = Math.Max(d1, d2);

return Math.Max(temp, d3);

}

}

caller:

Console.WriteLine(MathExtension.Extension(2m, 3m, 1m)); // prints 3 on console)

What is expansion of DOT in dot net language?

.NET- NETWORK ENABLED TECHNOLOGY

here . stands for LINKAGE BETWEEN MANY OBJECTS

Is NET in support of object oriented language?

Yes, every language supported by Microsoft and on the .NET framework is an object oriented language. (OOP)

Why do need Unicode when you have Ascii?

ASCII only has 127 standard character codes and only supports the English alphabet. While you can use the extended ASCII character to provide a set of 256 characters and thus support other languages there's no guarantee that other systems will use the same code page, so the characters will not display correctly across all systems (the characters you see will depend upon which code page is currently in use). Moreover, some languages, particularly Chinese, have thousands of symbols that simply cannot be encoded in ASCII.

UNICODE encoding supports all languages and the first 127 symbols are also the same as ASCII, so all characters appear the same across all systems. UTF8 is the most common UNICODE encoding in use today because it uses one-byte per character for the first 127 characters and is therefore fully compliant with non-extended ASCII. If the most-significant bit is set then the character is represented by 2 or more bytes, the combination of which maps to the UNICODE encoding.

How do you re size the label in visual studio?

If you mean font, then you can use the font property of the label. Otherwise, you can't because there is no point to.

String reverse program with single string and without using library functions in java?

You can create a separate string initially empty. Then using a loop, start at the end of the string and add it to the end of the other string. At the end of the loop, the other string would contain the reverse.

What is the difference between ASP Net and visual studio Net?

Visual Studio is an IDE, whereas DotNet is a framework. A Framework is a set of usable components which can be used to develop some application, hence Visual Studio is a development environment for DotNet based applications.

What is mean by parse in java?

It is used to convert the value of one datatype into a value of another datatype. Example- Integer.parseInt(in.readLine); It converts given value to Integer datatype.

What is the difference between throw and throws in Java?

Throw is used to actually throw the exception, whereas throws is declarative for the method. They are not interchangeable.

public void myMethod(int param) throws MyException

{

if (param < 10)

{

throw new MyException("Too low!);

}

//Blah, Blah, Blah...

} The Throw clause can be used in any part of code where you feel a specific exception needs to be thrown to the calling method.

If a method is throwing an exception, it should either be surrounded by a try catch block to catch it or that method should have the throws clause in its signature. Without the throws clause in the signature the Java compiler does not know what to do with the exception. The throws clause tells the compiler that this particular exception would be handled by the calling method.

What is the difference between pthread and thread?

Answer POSIX threads are fairly portable. They can be emulated on uniprocessor systems at a slight (or sometimes no) penalty in speed. On shared memory multiprocessor machines, there is often kernel support for threads; this means that your application can take full advantage of all available CPUs and achieve (near) maximum performance. It is important to point out that threads libraries are predicated on shared memory. Threads won't help you on distributed memory machines Preeti

Explain the differences between Assembly Language and High Level Language?

Assembly language is used to write programs using the instruction set for a particular processor/controller.(example : 8051 or 8086 or MIPS).

  • It is confined to a particular machine, it involves symbolic representation of the binary machine codes and other constants needed to program a given CPU architecture.

Assembly Language require an ASSEMBLER to convert the assembly code to machine level code(HEX CODE)

High Level Language require a Compiler to convert into ASSEMBLY THEN machine level code.(Now-a-days compilers are smart enough to generate the machine code directly)

To write assembly code it is necessary to know the architecture of the processor or controller.

To write an High Level Program it is not neccessay to know the architecture completly.

Assembly language is not protable.

High Level Language is Portable.

with regards

Mohan Kumar.J

MCIS,

MANIPAL.

Assembly language is used to write programs using the instruction set for a particular processor/controller.(example : 8051 or 8086 or MIPS).

High Level Language is used to write programs using some grammer rules or languages created like C,PASCAL,FORTRN,JAVA.

Assembly Language require an ASSEMBLER to convert the assembly code to machine level code(HEX CODE)

High Level Language require a Compiler to convert into ASSEMBLY THEN machine level code.(Now-a-days compilers are smart enough to generate the machine code directly)

To write assembly code it is necessary to know the architecture of the processor or controller.

To write an High Level Program it is not neccessay to know the architecture completly.

Assembly language is not protable.

High Level Language is Portable.

with regards

Mohan Kumar.,

MCIS,

MANIPAL.

EACH HLL INSTRUCTION SPECIFY SEVERAL INSTRUCTIONS IN isa OF COMPUTER. WHEREAS EACH aSSEMBLY LEVEL INSTRUCTION SPECIFIES A SINGLE INSTRUCTION IN ISA OR MACHINE LEVEL LANGUAGE

PRIYA BAJAJ

WIPRO TECHNOLOGIES

BANGALORE

Answer--Assembly language :-

A programming language that is once removed from a computer's machine language. Machine languages consist entirely of numbers and are almost impossible for humans to read and write. Assembly languages have the same structure and set of commands as machine languages, but they enable a programmer to use names instead of numbers.

Each type of CPU has its own machine language and assembly language, so an assembly language program written for one type of CPU won't run on another. In the early days of programming, all programs were written in assembly language. Now, most programs are written in a high-level language such as FORTRAN or C. Programmers still use assembly language when speed is essential or when they need to perform an operation that isn't possible in a high-level language.

High-level language:-

  • A high level language hides the micro abstractions such as set of command required to be performed by the processors such as CPU. Java and C++ are all high level languages.
  • Java, C++ : all easy to write non-binary languages
  • Example : (i=10, i<10,i++)
  • It is not confined to particular machine.

-JP Morgan

A programming language such as C, FORTRAN, or Pascal that enables a programmer to write programs that are more or less independent of a particular type of computer. Such languages are considered high-level because they are closer to human languages and further from machine languages. In contrast, assembly languages are considered low-level because they are very close to machine languages.

The main advantage of high-level languages over low-level languages is that they are easier to read, write, and maintain. Ultimately, programs written in a high-level language must be translated into machine language by a compiler or interpreter.

The first high-level programming languages were designed in the 1950s. Now there are dozens of different languages, including Ada, Algol, BASIC, COBOL, C, C++, FORTRAN, LISP, Pascal, and Prolog.

An assembly language is where each statement corresponds to one machine instruction. A high level language is where each statement corresponds to more than one, sometimes many, machine instructions.

Why is Microsoft Word not used for writing HTML coding?

They are not text editors. They will have a lot of hidden characters in them that can disrupt the file. Along with the actual text, it will include the data that defines the font and the size and so on, and they all become part of the file. A HTML file should be done in a pure text editor and only have text in it. Formatting should not be important in the text itself. Then the browser will be able to read the file without being disrupted by other things in the file. Only if you can save the file as text only, would you use something that is not a text editor.

Why Customers prefer to develop their applications using Java or Dot net frame work?

Because that's the whole purpose of a programming language, the reason why they were developed - to make software.

Because that's the whole purpose of a programming language, the reason why they were developed - to make software.

Because that's the whole purpose of a programming language, the reason why they were developed - to make software.

Because that's the whole purpose of a programming language, the reason why they were developed - to make software.