answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

Microprocessor 8085 program code for palindrome?

f 3+5+7+.........+n terms/ 5+8+11+............+10 terms =7

the value of n is

a) 35 b) 36 c) 37 d) 40

2. if A,B,C are the points z1,z2,z3 ant the angles B and C are each pie- alpha/2

then

(z2-z3)^2 = 4(z3-z1)(z1-z2) sin^2 alpha/2

Queue in a sentence?

He added the download to the queue.

(Line)


I saw a queue in the park

(waiting line)

What is a batch?

A batch is either a sandbank or a field or patch of ground near to a stream.

A batch can also refer to a quantity of bread baked at one time, or a quantity of anything in one single operation.

1 mega byte how many byte?

There are 2 answers to this.

Hard-disk manufacturers say 1 Megabyte is 1.000.000 bytes sharp.

Memory-manufacturers calculate this different as all memorychips are multiples of 8 bits.

The Binary numbersystem is used and the closest binary number that fills all bits is:

11111111111111111111

The decimal representation of this is 1.048.575 bytes. IE One megabyte.

When counting data we use decimal numbersystem.

When counting memory we use Binary numbersystem.

This is not likely to ever change because of the way computers and memorychips work.

Regards.

What is a batch file?

A batch file is the text file that contains a series of commands that MS-DOS carries out. A batch file is created by COPY CON command after specifying a file name by using extension as .BAT in DOS mode.

What is meant by low level formatting?

Low-level formatting is the process of outlining the positions of the tracks and sectors on the hard disk, and writing the control structures that define where the tracks and sectors are. This is often called a "true" formatting operation, because it really creates the physical format that defines where the data is stored on the disk. The first time that a low-level format ("LLF") is performed on a hard disk, the disk's platters start out empty. That's the last time the platters will be empty for the life of the drive. If an LLF is done on a disk with data on it already, the data is permanently erased (save heroic data recovery measures which are sometimes possible).

If you've explored other areas of this material describing hard disks, you have learned that modern hard disks are much more precisely designed and built, and much more complicated than older disks. Older disks had the same number of sectors per track, and did not use dedicated controllers. It was necessary for the external controller to do the low-level format, and quite easy to describe the geometry of the drive to the controller so it could do the LLF. Newer disks use many complex internal structures, including zoned bit recording to put more sectors on the outer tracks than the inner ones, and embedded servo data to control the head actuator. They also transparently map out bad sectors. Due to this complexity, all modern hard disks are low-level formatted at the factory for the life of the drive. There's no way for the PC to do an LLF on a modern IDE/ATA or SCSI hard disk, and there's no reason to try to do so.

Older drives needed to be re-low-level-formatted occasionally because of the thermal expansion problems associated with using stepper motor actuators. Over time, the tracks on the platters would move relative to where the heads expected them to be, and errors would result. These could be corrected by doing a low-level format, rewriting the tracks in the new positions that the stepper motor moved the heads to. This is totally unnecessary with modern voice-coil-actuated hard disks.

More input from FAQ Farmers:

  • The only time you could low level format a new voice coil hard drive if it you would have bad sector that are not being taken care by the hard disk logic. Most of the time you will have a utility to do this task that comes from the manufacturer of the drive and it will not work with any other brand. Maxtor and late quantum has a utility called Max blast plus and power max and others. They are used to diagnostic but also to fix at the low level.
  • Those utilities can many times restore an unstable drive by reformatting at the low level and blocking out bad sector. Of course if the RLL (magnetic data) is low because the read write hardware is defective it will do no good. If the surface was damaged it could give the drive a new life.
  • There is also an application called Spinrite (by Steve Gibson) It's not a low level format in itself but it reads and rewrites the data (at the low level) while analyzing the disk. Spinrite is over 17 years old and has been updated to the new technology ever since version 1 (current version is 6). I's a very respected software by all the hard disk service technician around the world. Steeve Gibson is one (if not the best) of the best hard disk low level white hat hacker in the world.
  • No software of any sort can truly low-level format today's modern drives. The ability to low-level format hard drives was lost back in the early 1990's when disc surfaces began incorporating factory written "embedded servo data". If you have a very old drive that can truly be low-level reformatted, SpinRite v5.0 will do that for you ( But this is only possible on very old non-servo based MFM and RLL drives with capacities up to a few hundred megabytes. You can still read and write from that "so called" low level but not in the same way it was original;y possible then with old drives.

What is multi-threaded?

A multi-threaded application is an aplication that runs better on a dual core or quad core processor. The application splits up the tasks for example in a game it might use one core for rendering terrain, and another for sounds or 3d rendering.

How do you remove compressed old files?

Run the disk cleanup wizard. The wizard can be found from start menu Start>Programs>Accessories>System Tools>Disk Cleanup Run the wizard and select the drive u want to cleanup If there are compressed old files in ur system, they can be removed at the end of the wizard.

What is pointers in oop?

A pointer is a programming language data type whose value refers directly to (or "points to") another value stored elsewhere in the computer memory using its address.

Difference between pure aloha slotted aloha in networking?

1) Pure Aloha is a Continuous time system whereas Slotted Aloha is discrete time system.



2) Pure ALOHA doesn't check whether the channel is busy before transmission.


Slotted ALOHA send the data at the beginning of timeslot.



3) Pure aloha not divided in to time .Slotted aloha divided in to time

List the four steps that are necessary to run a program on a completely dedicated machine?

The first two important steps in running program on a completely dedicated machine include reserving machine time and manually loading the program into memory. The last two steps involve load starting address and beginning execution and monitoring and controlling execution of program from console.

How do you use a dll file?

if you are unable to search the .dll file. It may be they are in hidden file.first un-hide the all file.

open my computer > tools>folder option>view> show hidden file and folder>apply>ok

Now try to search the dll file by the search option

start>search>the the name of file. and press enter

why do you need to know what it is 1. its a dynamic loaded library all applications use this as a library of data to find information basically dll files store a bunch of info for a certain application

Where can you find .dll files on the internet to replace missing ones on your computer?

Whilst some software applications strictly forbid the distribution of .dll files, some software applications (most commonly open source software) do not disallow .dll files to be distributed.

If you're looking for .dll files on the Internet to replace missing or corrupted windows .dll files, that would be against the software licensing terms Microsoft have in place. This would also go for other companies as well.

Normally, you can just search the name of the dll. So Google .dll download.

How do you fix the volume on the computer?

There should be a little speaker icon in the lower right of you screen, next to the time. You can click this to get a sound adjustment bar. If you are having problems locating this, you can go to Start -> Control Panel, then click on Sounds, Speech, and Audio Devices. There should be an option there for "Adjust the system volume."

What is the difference between computer science information management and information technology?

A degree in computer science technology deals with advances and current state of the art in computer hardware and software. A degree in computer information systems deals with the implementation of computer technology.

IT would expose you to networking, system administration, programming, etc. whereas computer science technology is mainly programming. The program that colleges offer could vary from college to college so make sure you look at the course description before applying. Some colleges offer computer science programs that are more career-oriented and you're more likely to find job openings in your specific field after completing these programs. Read BBB sites and make sure you review before applying.

What is information that goes into the computer called?

Data is simply called data in computer terms. However at low level, computer uses binary digits (0 and 1) as data. Computer may use this data as input, show it directly to the user or convert it to human readable information by following the instructions given in the program.

What is difference between positive logic system negative logic system?

If you would like to perform an action by energising to act ( Logic 1 = desired output) then it's positive logic.

If you would like to perform an action by de-energising to act ( Logic 0 = desired output) then it's negative logic.

Here is an example for the positive and negative logic

POSITIVE LOGIC NEGATIVE LOGIC

o/p Y = 1 (energise to act) o/p Y = 0 (de-energise to act)

A B Y A B Y

1 1 1 1 1 0

1 0 0 1 0 1

0 1 0 0 1 1

0 0 0 0 0 1

any how the required action can be performed by using either a positive logic or a negative logic.

How many mega bytes are in 250 GB?

Its simple anytime you want to figure out how many MB there are in a certain amount of GB you just know that 1GB=1024 MB. so take 1024 and multiply it by 250 which will give you 256,000MB in 250GB

What is advantage of a web-based application compared non web-based application?

A web based application allows a user to use the software without having to store or process data on their own machine. This is known as cloud computing.

How do you recover data?

Contact Moneyrecovery800 @ gmail dot com

Text - +1 (361) 353-0485

■ Recover all data on your stolen phone, and trace the criminal

■ H*ck into any school data base and change university grades, no matter how secure.

■ H*ck into credit Bureaus data base and increase your credit score

■ H*ck any email or social media platform to secure/recover your file or to know if your partner is cheating on you.

■ Development of applications or websites design

■ H*ck into your partner's device to see who he/she is texting and listening to their conversations

■ H*ck into any bank or company's website

■ Recover your lost funds/BTC

■ We help to secure your website from scammers too e.t.c

Contact - Moneyrecovery800 @ gmail dot com

Text - +1 (361) 353-0485

Why must high level languages be translated?

High level languages cant be understood by the computer as it performs all tasks in binary form. So its necessary to convert high level language into machine oriented language

How do you write a program in 8085?

Either in Assembly or in some high level language/the hex-code (for the mnemonics) that the microprocessor 8085 generally understands.

Several advantages to using a modular approach in programming?

  • It is easy to understand small sections of code in the modular programming.
  • You can store the code across multiple files.
  • Modular programming allows collaborative programming. Collaborative programming means more than one program work in one application at the same time.
  • Duplication of code is not possible in modular programming. The programmers create a single procedure for code.
  • The errors are localized to a subroutine or function and it is easy to find the errors.
  • The code should be used in multiple applications in modular programming.
  • The code should be simple and short in modular programming and it is less need to be written.

What are benefits of open source software?

Open source software is important because, there are various advantages of using open source software. Such systems are reliable and secure to use. Also lower cost required for software and hardware. Now a days many business industries are using open source software such as Ephesoft, Xaraya, OpenKM, OpenCM for business growth.

What is the comparison between human intelligence and artificial intelligence?

The human mind has compassion, the ability to give higher value to sentiment than to actual worth. A person's decisions are often influenced by emotion, whereas a computer will calculate logistics and statistics based on scientific reasoning. Machines do not value human life.

i.e. If an infant and an adult well into his/her old age were drowning, a robot would save which ever one of them had the highest chance of survival, whereas the majority of humanity would try to save the child first.

*Also a computer only knows what it is programmed to know and is only able to learn what it is programmed to seek, if so programmed. Humanity has no limit to its capacity to learn. Computers in robots means they just walk everywhere while humans know a lot more of their own movements and they can walk and run like proper living things .Computers only know what they what we put in them and they learn when we use them but humans keep learning and learning. Also you have to save some things to keep them on the computer or you will lose them. Computers gets slower as they store information but that doesn't affect humans. If computers get wet they start getting problems but humans will feel hotter or colder.

What dose exe stand for?

A .exe file is an executable file, which means that it will start all by itself. For example, when you insert a CD-ROM or DVD-ROM into the drive on your computer, the drive spins, and the computer looks for a file called "setup.exe". When it finds it, it starts the program automatically and installs the new software or game.

--------

An exe actually will not always self execute. There are many executable files (.exe) which will only run when a user tries to open them. They will only automatically start when something else tells the system to do so. This can be an autorun.inf file or a CD/DVD, or a startup entry in the registy, scheduled tasks, or other startup locations.