answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Write down the circle program in gw basic?

auto

10 screen 1

20 circle (160,100), 50

30 end

in screen 2

auto

10 screen 2

20 circle (320,100), 200

30 end

by: Tariq Ismail.

How do you make a scroll box on Howrse?

A simple one:

<tr>

<td colspan="5"> <br></td></tr>

<tr>

<td><br></td>

<td><br></td>

<td> <br></td>

<td><div style="overflow: auto; width: 250px; height: 300px;" align="center">TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT<br style="color: rgb(255, 255, 255);">TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT<br style="color: rgb(255, 255, 255);"><br style="color: rgb(255, 255, 255);"><br><br><br><br></div></td></tr>

<tr><td colspan="5"><br></td>

</tr>

</tbody></table>

How can I write a program to display prime numbers from 1 to 100?

Write a function that implements an algorithm that checks to see if a particular integer is prime (returning a boolean).

Write a program that uses that function on each number from 1 to 100, and if true, displays that number.

What is different between local and global navigation bar?

I assume that "local" navigation is navigation affordances that are available on one web page, but not others. Global navigation appears on every page of a web site. Usually found in the form of a bar at the top of the page with all the major parts of the site reflected.

Role of data structure to insert an element in the data structure?

using data structure an element can insert at any position easily. with out traversing through the entire list.

Steps for making notepad in vbnet?

# Create a Windows application project # Go to designer mode. Add the rich text box control to your form # Double click anywhere on the bar at the top of the form (the bar that has minimise/maximise) # Paste the code below into the new area that just came out. # change the bits that are in bold in the text below suit the program # When you run the program, it should load a text file from the desired location.

Dim Reader As System.IO.StreamReader

Reader = New System.IO.StreamReader("C:\Textfile.txt") '<-- where to read from Dim tempstring As String Do

tempstring = Reader.ReadLine()

richtextbox1.Text = richtextbox1.Text + tempstring + vbLf

Loop Until tempstring = ""

What is the meaning of Null Null?

In mathematics, null mean zero value.

-----------

In mathematics, the null set is the set without any members that is contained in every set.

In computing, null is used in some languages to mean 'no value'-in particular, not zero, not true and not false. (See, for example, SQL or PHP.)

In statistics, the word 'null' is most often used in the term 'null hypothesis'. Usually a null hypothesis is a statement claiming that a population parameter of interest equals a certain value. Then the alternative hypothesis might be that the parameter assumes values other than that given value.

Perhaps it may be said that the word null has various meanings, depending on context.

How is half adder implemented using null convention logic?

by using 4 NCL gates we can design or implement a half adder.gates used in half adder are TH12[1 GATE],TH22[1 GATE] and TH24COMP0 [2 GATES].this NCL have a concept of DUAL-RAIL.output we get for this are S0,S1,Cout0,Cout1.

What health and safety issues are involved in computer engineering?

some safety concerns about electrical engineering are that you are working with a lot of electricity so if you shock yourself that it could cause major or even fatal problems. another concern is that if you spill liquid on a computer for example a cup of tea of coffee when your on your lunch break can destroy the computer and if you touching the computer you can get injured.

How efficiency improve in settling chamber?

First, I am assuming you mean

"How do I improve the efficiency of a Gravity Settling Chamber?"

The efficiency of a settling chamber is given by: n= (Ut*L)/(H*U)

where:

'Ut' is the terminal velocity of the particle you wish to separate

'L' is the length of the settling chamber

'H' is the height of the settling chamber

'U' is the mean gas velocity within the settling chamber

'n' is the efficiency of the settling chamber

As can be seen by the formula, to improve the efficiency the settling chamber you can make the chamber longer, or you can slow the mean gas velocity within the chamber, allowing more particles to fall within the given chamber dimensions.

Settling chambers are typically long already with a low mean gas velocity so juggle between these two main ideas and find what you believe will work best in relation to the amount of product you need to make. (kgs of Gas per hour)

What is used to download Email to the client?

We use mircsoft ourlook client to download email from email-server.

It uses POP3 or IMAP protocol to download emails to client

Distinguish the terms Program Process and Threads?

A program is an executable.

A process is an executable that has been loaded into working memory and is currently executing the program.

A thread is a thread of execution within a process. Every process has at least one thread, but threads can spawn additional threads as required to allow concurrent operations to be performed near-simultaneously.

What is the difference beyween a DS and DSLight?

A DS Lite is more compact, Doesn't snap as easily (no knobbly bits) And easier to use IMHO. But if you have bigger hands, the DS might just be for you. -shot for advertising

Why use VBscript in ASP?

The choice of VBscript in ASP versus other options is mostly personal perferance. Using VBscript allows you access to thousands of functions and operators to help you code easier, and more effectivley.

A personal preference towards VBscript when coding in ASP may be because it follows the same style of programming. For example, a Javascript operator might look like this:

&&

Whereas an asp operator will be written as:

And

VBscript follows this same methodology, and make for an easier "mesh" with the natural coding of ASP.

How do you make a folder without naming?

You cannot. All folders must have a name otherwise it would be impossible to refer to them. You can, however, use a non-printing character to name the folder, such as a single space. However, not all operating systems will allow this.

What is a feature control frame?

A feature control frame describes a geometric tolerance on an engineering drawing. Geometric dimensioning and tolerancing is defined by the ASME Y14.5-2009 standard. A feature control frame is basically a rectangle divided into several segments, in the following order:

1 - A geometric characteristic symbol (specifying what the tolerance type is, such as parallelism, position, surface profile, runout, etc.)

2 - The tolerance

3 - Up to three frames (if applicable) of the datums to which the tolerance is related to. Some tolerances (such as flatness) do not relate back to any datums.

For more information:

http://catalog.asme.org/Codes/PDF/Y145_2009_Dimensioning.cfm

http://en.wikipedia.org/wiki/Geometric_dimensioning_and_tolerancing

How would we define new header file using condition inclusion?

Conditional inclusion is a trick that some languages must use to prevent multiple declarations of the same symbols. A prime example would be "C++", that typically breaks the interface and implementation definitions into .h and .cpp files, respectively. Since it is common that the .h file will be included in numerous .cpp files that define symbols needed by the implementation, a common method is to use the #define preprocessor directive. For your file "MyClass.h":

#ifndef __MyClass_H__
#define __MyClass_H__
... class definition goes here ...
#endif

How do you change your scrollbar color?

on piczo ho on to a HTML box and type in

<STYLE type="text/css">

<!--

BODY

{

scrollbar-face-color: #000066;

scrollbar-highlight-color: #0000CC;

scrollbar-track-color: #330000;

}

-->

</STYLE>

Note: this is only the couler for my scrollbar