Skip to main content

Posts

Showing posts with the label computer

What is Break and Continue statement in Programming? (Answer)

Both Break Statement and Continue Statement are important in all programming languages. Here is the definition of both statements with examples... Break Statement The break statement is used to exit from a while, for, do, or switch structure. It can be only used inside the body of a for, while, do statement. This statement is used to terminate the control from the switch case as well in the loop. When the break statement is encountered it terminates the execution of the entire loop or switch case. It doesn't bypass the current loop through it transfers the control out of the loop. Example: for (i = 1; i<=5; i++) { if(i==4)     break; Printf ("%d", i); } Continue Statement The continue statement is used to bypass the execution of the further statements. When the continued statement is encountered it bypasses a single pass of the loop. It is used to bypass the current pass through a loop. The loop doesn't terminate when continue encountered. Example: for (i=1; i<=...

What is Object, Class and Inheritance in OOP (Definition)

Object, Class, and Inheritance are the main characteristics of Object-Oriented programs. Here is the definition of object, class, and inheritance... Object The object is a concept with defined boundaries that are the same as the problem we are working with. Its main purpose is to understand the real world and to provide a practical basis for a computer application. When we approach a programming problem in an object-oriented language, the problem is divided into different objects. An object includes data and functions, functions are used to perform the operations on data. The data containing the object is called member data and the function is a member function. It provides data security. The basic concept of object-oriented programming is to combine into a single unit, both the data and its functions. An object is an instance of a class. It can be uniquely identified by its name and it defines a state which is represented by the values of its attributes at a particular time or is an i...

What are the advantages of Object-oriented programming (Answer)

Object-oriented Programming is a programming model that used objects to design computer programs. Here are the advantages of OOP. Advantages of Object-oriented programming (OOP) Through OOP, we can define the user's data types. The complexity of the software can be merged quickly and easily. The inheritance concept can be used to eliminate the redundant code. OOP treats data as a critical element and does not allow it to flow freely around the program. New data can be easily coded whenever necessary. It helps the programmer to communicate between different objects. It helps to reuse program codes easily. It is a comparatively newer concept. Program development becomes easier with the help of features like polymorphism and inheritance. It has higher security. These are the advantages of OOP. More: Whathowans

What is Privacy and Anonymity? (Definition)

Privacy and Anonymity are related to networks and are two different things and have separate meanings. Here is the definition of Privacy and Anonymity. Anonymity Anonymity means to maintain a disguise or hide oneself and pretend to be an unknown person for maintaining secrecy between themselves and the second party. For example, Sometimes you want to send something without having your real name attached to it so that the other party doesn't understand who the sender is. At this time the anonymity has been used. In computer language, to some extent anonymity is good for maintaining privacy, but sometimes it could lead us to cybercrime like Cyberstalking, Cyber scams. Fraud, Spoofing, and others. Privacy Privacy means the process to protect us from disclosing our personal details or object from others with due respect to maintain secrecy. In computer language, privacy is very important to maintain, but due to foolishness, our privacy is leaked thereby knowing everything about us to o...

What is mean by Bitcoin Mining? (Answer)

Bitcoin Mining could be a record-keeping administration done victimization laptop handling power. Diggers keep the blockchain steady, complete, and unalterable by over once gathering recently broadcast exchanges into a sq., that is then transmitted to the organization and confirmed by beneficiary hubs. every square contains an SHA-256 science hash of the past block, during this manner connecting it to the past square and giving the blockchain its name. To be acknowledged by the rest of the organization, another square ought to contain a proof-of-work (PoW). The prisoner of war expects excavators to trace down variety known as a present (number utilised once), to such an extent that once the sq. substance is hashed aboard the present, the end result is mathematically less important than the organization' trouble target.: ch. eight  This confirmation is straightforward for any hub within the organization to check, however terribly tedious to produce, with relation to a secure science...

What is LAN and WAN Networks? - Definition

LAN and WAN are the two types of computer network on the basis of geographical area coverage. Both are different from each other. Here is the definition of both networks. LAN (Local Area Network) The interconnection within room or building is known as LAN (Local Area Network). The data transmission rate is faster than WAN. Most of the LAN is built with relatively cheap hard drives like Ethernet cables, network adapters, and hubs. LAN has higher security to resources of the network. It is more easy to manage and operate. It can operate at a speed of 100mbps. There is lack of backup compares to WAN in LAN. It is only limited for short distance. The network structures of LAN is in Homogenous form. WAN (Wide Area Networking) The interconnection within a country or between neighbor countries and within a continent is known as WAN (Wide Area Networking). The data transmission rate is slower than the LAN. WAN use much expensive software than LAN. It helps to send data/information...

How to insert and change the header or footer in MS word?

You can insert predesigned headers and footers in your document and easily change the header and footer designs. Here are some of the steps to do it. Insert the same header and footer throughout a document 1. On the Insert tab, in the Header and Footer group, click Header or footer. 2. Click the header or footer design that you want. Remove the header or footer from the first page 1. On the Page Layout tab, click the Page Setup Dialog Box Launcher, and then click the layout tab. 2. Select the different first-page checkbox under Headers and Footers. "Header and footers are removed from the first page of the document." Make the headers or footers different for odd and even pages 1. On the Page Layout tab, the Page Setup dialog Box Launcher, and then click the Layout tab. 2. Select different odd and even checkbox. "Now you can insert the header or footer for even pages and the header or footer for odd pages on an odd page." Remove the header ...

How to insert Clip art in Ms PowerPoint?

Clipart is a sticker which is used in powerpoint to make in a document and make it more attractive. It shows the document well. Steps 1. Click the Insert Tab. 2. Click the Clip Art button. 3. Search for the clip art using the search Clip Art dialog box. 4. Select the graphic you would like to add. 5. To move the graphic, click it and drag it to where you want it. More:  WhatHowANS