Question about Computers & Internet

1 Answer

Boolean Logic A panel has 3 switches on the front which toogle options. the state of all these buttons(on or off) must bestored in a single integer variable(not an array). How this information gets to the computer is irrelevant. Using C# or Java, write briefly the function ofsetting each button state in the variable andreading off any particular button state from the variable. Create unique global constants for each button, simply write them and the functions down and not the entire program

Posted by on


1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points


    An expert that gotĀ 5 achievements.


    An expert whose answer gotĀ voted for 20 times.


    An expert who has written 20 answers of more than 400 characters.

  • Expert
  • 84 Answers

I don't know the syntax but you could easily do this with setting the switches to a constant, then adding them up. The number set would need to be something so that there would only be one solution...the one that you were looking for.

sw1 = 1
sw2 = 2
sw3 = 4

If sw1 and sw2 is both on, but sw3 is off, the number would be 3
If sw2 and sw4 was on, the number would be 6
If all were on, the number would be 7, etc.

Posted on May 09, 2008


1 Suggested Answer

  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi there,
Save hours of searching online or wasting money on unnecessary repairs by talking to a 6YA Expert who can help you resolve this issue over the phone in a minute or two.

Best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.

Here's a link to this great service

Good luck!

Posted on Jan 02, 2017


Add Your Answer

Uploading: 0%


Complete. Click "Add" to insert your video. Add



Related Questions:

2 Answers

What is an ICP - RCC - Speedometer fuse for on a 1997 ford taurus dohc ICP - RCC?

Hey Brian ,
ICP - Integrated control panel
RCC - Remote Climate Control Module
Integrated Control Panel-Electronic Automatic Temperature Control
Control Assembly The Taurus, Sable vehicles group together the following systems into a single integrated control panel:
  • AM/FM stereo radio
  • clock
  • rear window defroster switch
  • electronic automatic temperature control (EATC)
  • full-logic cassette tape player
  • compact disc player control (optional)
The remote climate control module is mounted to the A/C evaporator housing behind the integrated control panel. The integrated control panel is connected to the remote climate control module with a dedicated two-wire communication link. The integrated control panel EATC features:
  • a vacuum fluorescent display (VFD) for displaying set temperature, ambient temperature, function and diagnostic trouble codes (DTCs).
  • electro-luminescent backlighting for all buttons and graphics.
  • function override buttons.
  • temperature control and blower speed rocker switches.

Jun 08, 2015 | 1997 Ford Taurus


How to double firefox speed

Firefox is in my opinion the best browser ever made until now. It includes:<br />-improved tabbed browsing<br />-pop up blocking<br />-integrated Goggle search<br />-enhanced privacy controls<br />-built-in phishing protection<br />-online spell checking<br />-lots of themes, interfaces, and extensions/addons<br /> Mozilla Firefox officially supports:<br />-Microsoft Windows<br />-Linux<br />-Mac OS X<br /> Unofficial Support:<br />-Free BSD<br />-OS/2<br />-Solaris<br />-SkyOS<br />-BeOS<br />-XP Professional x64 Edition<br /> Now here are some Tips&Tricks that can help you double the speed of Firefox.<br /> 1. Type about:config in the address bar and then press Enter.<br /> 2. In the filter search bar type network.http.pipelining. Be sure the value field is set true,if not double-click to set true.<br /> HTTP is the application-layer protocol that most web pages are transferred with. In HTTP 1.1, multiple requests can be sent before any responses are received. This is known as pipelining. Pipelining reduces page loading times, but not all servers support it.<br /> 3. Go back to the filter search bar and type network.http.pipelining.maxrequests. Double-click this option and set its value to 8.<br /> 4. In the filter search bar and type network.http.proxy.pipelining. Once opened double-click on it and set it to true.<br /> <br />5. In IPv6-capable DNS servers, an IPv4 address may be returned when an IPv6 address is requested. It is possible for Mozilla to recover from this misinformation, but a significant delay is introduced.<br />Type network.dns.disableIPv6 in the filter search bar and set this option to true by double clicking on it.<br /> 6. CONTENT INTERRUPT PARSING<br />This preference controls if the application will interrupt parsing a page to respond to UI events. It does not exist by default.<br />Right-click (Apple users ctrl-click) anywhere in the about:config window, select New and then Boolean from the pop-up menu. Then:<br /> A. Enter content.interrupt.parsing in the New boolean value pop-up window and click OK<br /> B. When prompted to choose the value for the new boolean, select true and click OK.<br /> 7. Rather than wait until a page has completely downloaded to display it to the user, Mozilla applications will regularly render what has been received to that point. This option controls the maximum amount of time the application will be unresponsive while rendering pages.<br /> Right-click (Apple users ctrl-click) anywhere in the about:config window, select New and then Integer from the pop-up menu.<br /> A. Enter content.max.tokenizing.time in the New integer value pop-up window and click OK<br /> B. You will be prompted to enter a value. Enter 2250000 and click OK.<br /> 8. CONTENT NOTIFY INTERVAL <br /> This option sets the minimum amount of time to wait between reflows. Right-click (Apple users ctrl-click) anywhere in the about:config window, select New and then Integer from the pop-up menu.<br /> <br /> A. Type content.notify.interval in the New integer value pop-up window and click OK.<br /> B. You will be prompted to enter a value. Enter 750000 and click OK.<br /> 9. CONTENT NOTIFY ONTIMER<br /> A. This option sets if to reflow pages at an interval any higher than that specified by content.notify.interval. Right-click (Apple users ctrl-click) anywhere in the about:config window and select New and then Boolean from the pop-up menu.<br /> B. Type content.notify.ontimer in the New boolean value pop-up window and click OK.<br /> C. You will be prompted to choose the value for the new boolean. Select true and click OK.<br /> 10. Notify Backoffcount<br />This option controls the maximum number of times the content will do timer-based reflows. After this number has been reached, the page will only reflow once it is finished downloading. Right-click (Apple users ctrl-click) anywhere in the about:config window and select New and then Integer from the pop-up menu.<br /> A. Enter content.notify.backoffcount in the New integer value pop-up window and click OK.<br /> B. You will be prompted to enter a value. Enter 5 and click OK.<br /> 11. CONTENT SWITCH THRESHOLD<br />You can interact with a loading page when content.interrupt.parsing is set to true. When a page is loading, the application has two modes: a high frequency interrupt mode and a low frequency interrupt mode. The first one interrupts the parser more frequently to allow for greater UI responsiveness during page load.<br /> The low frequency interrupt mode interrupts the parser less frequently to allow for quicker page load. The application enters high frequency interrupt mode when you move the mouse or type on the keyboard and switch back to low frequency mode when you had no activity for a certain amount of time. This preference controls that amount of time. Right-click (Apple users ctrl-click) anywhere in the about:config window and select New and then Integer from the pop-up menu.<br /> A. Enter content.switch.threshold in the New integer value pop-up window and click OK.<br /> B. You will be prompted to enter a value. Enter 750000 and click OK.<br /> <br />12. NGLAYOUT INITIALPAINT DELAY<br />Mozilla applications render web pages incrementally, they display what's been received of a page before the entire page has been downloaded. Since the start of a web page normally doesn't have much useful information to display, Mozilla applications will wait a short interval before first rendering a page. This preference controls that interval. Right-click (Apple users ctrl-click) anywhere in the about:config window and select New and then Integer from the pop-up menu.<br /> A. Enter nglayout.initialpaint.delay in the New integer value pop-up window and click OK.<br /> B. You will be prompted to enter a value. Enter 0 and click OK.<br /> <br />

on Dec 11, 2010 | Computers & Internet

1 Answer

Built-in oven-- clock unresponsive

you have to push 2 of the buttons at the same time. usually - and + for 3 seconds. you will see the display change. good luck.

Jun 01, 2017 | Zanussi ZBF360 Electric Single Oven

1 Answer

My palm pixi screen won't let me touch, the keys work but the touch screen doesn't so I can't call or answer

hi troy camolo take the battery out of the phone. Next then hit the pouer button 3 times. The toogle switch will results in the phone resetting.

Apr 24, 2011 | Palm Pixi Cell Phone

1 Answer

My printer epson LQ-1170 , after push switch on , my printer no action , and I only hear sound like this ( tiiit... ) 5 times . Thank's to mr who help me for solve this problem .

As per my knowlege follow the above steps one of this surly work.

1 clean the head bar with oil (both front and reare)
2 remove head clean it with brush "SOFTLY".
3 remove the head cables and check whethe you see silver pins perfectly and it connects inside.
4 turn the printer on, see the movement.
5 now...turn printer off and keep holdin FORM FEE,LINE FEED AND LOAD/EJECT buttons and
6 keep paper mode for single paper.

Till your problem solves then ok else

1 open the printer change the data cable of your printer and check.
2 clean the entire printer.
3 see logic board if you see any dust on "ANY DIRTY THING ON LOGIC BOARD" clean it.
4 if possible clean logic boad with ISO profile.

if non of these solves your problem try another logic board.


Mar 14, 2011 | Epson LQ1170 Matrix Printer

2 Answers

I want first 20 Armstrong numers


Jan 06, 2011 | Computers & Internet

2 Answers

How the microprocesser function

  • Microprocessors have become the movers and shakers of our everyday world. We use them in computers, televisions, watches, microwaves and practically every other electronic device. Their micro-size is no reflection of the myriad capabilities these chips possess, ranging from 2 to 3 mm square to maybe an inch thick. Silicon makes up the material of a microprocessor chip. Sliced wafer thin, silicon serves as an ideal conductor and insulator for Function
  • A microprocessor is the central processing unit in a computer. It receives, transmits and coordinates every command and process carried out by the system. Electrical currents, moving through wires and transistors, are converted into usable messages through the use of a Boolean logic language. Based on the "on/off" frequency of current moving through transistor circuits, this Boolean logic communicates system commands to and from receiving devices within the computer. The microprocessor communicates within two primary capacities: logic and the processing of information. These processes are handled by two components within the chip:
    *Arithmetic logic unit (ALU), responsible for all commands requiring an arithmetic or logic function
    * Control unit (CU), which handles the information processing from the computer's memory
  • From these units within the chip, clusters of wires called "bus" lines send and receive information to and from system devices.
  • Oct 16, 2009 | Computers & Internet

    1 Answer

    Sir, give me sample java problem! for i can solve.

    Look at the method below which finds prime numbers. public class Primes { private static void findPrimes(int nValues, boolean printPrimes) { boolean isPrime = true; for (int i = 2; i <= nValues; i++) { isPrime = true; for (int j = 2; j < i; j++) { if (i % j == 0) { isPrime = false; break; } } if (printPrimes && isPrime) { System.out.println(i); } } } // REMAINING METHODS NOT SHOWN }Implement the method findPrimesFaster in class Primes by copying the code from the findPrimes method and modifying it to have the following features:
    • Uses labeled continue instead of break.
    • Does not require the isPrime variable.
    • Only tries to divide by integers up to the square root of the number being tested.

    Sep 25, 2009 | Sun Java Programming Language (cdj-275)

    1 Answer

    To form a jumbled words

    Using VB as an example

    Dim intLength as Integer
    Dim y as Integer
    Dim arrOut( ) as String
    Dim TempLetter as String
    ReDim arrOut(intLength)
    dim boolDone as boolean ' flag to track unfilled positions

    Write a loop that gets each letter from text1, then choose a random number from 1 to intLength

    Get the existing letter, then put it into a different position in the arrOut, based on the random number. If something is in that position, try again:

    for y=1 to intLength
    tempLetter = mid(text1.text,y,1)
    do while boolDone=false
    r =CInt(Int((y * Rnd()) + 1)) 'Get random # from 1 to length
    if arrOut(r) ="" then 'see if spot has been used
    arrOut(r) = tempLetter
    boolDone = true
    end if
    next 'get next letter in text1

    text2.text=join(arrOut,"") ' concatenate arrOut, no delimiter.

    Hope that helps.

    Jul 16, 2008 | Computers & Internet

    2 Answers

    Armstrong problem

    could you give me more info plz

    Jun 21, 2008 | Computers & Internet

    Not finding what you are looking for?
    Computers & Internet Logo

    Related Topics:

    84 people viewed this question

    Ask a Question

    Usually answered in minutes!

    Top Computers & Internet Experts

    Les Dickinson
    Les Dickinson

    Level 3 Expert

    18424 Answers

    Doctor PC
    Doctor PC

    Level 3 Expert

    7733 Answers

    David Payne
    David Payne

    Level 3 Expert

    14162 Answers

    Are you a Computer and Internet Expert? Answer questions, earn points and help others

    Answer questions

    Manuals & User Guides