This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 2101. |
What is a python program |
|
Answer» Answer: Python is an INTERPRETED, high-level, general-purpose programming LANGUAGE. Created by GUIDO van Rossum and first released in 1991, Python's design philosophy emphasizes code readability with its notable use of SIGNIFICANT whitespace. ... Python is dynamically typed and garbage-collect.. please mark me as a BRAINLIST.. |
|
| 2102. |
The %(modulus) operator cannot be used with the float data type. true or false.pls quick frds |
|
Answer» Explanation: |
|
| 2103. |
Break, continue, pass are the three conditional statements. true or falsepls quick frds |
|
Answer» Answer: Break Statement In Python, the break statement provides you with the opportunity to exit out of a loop when an EXTERNAL condition is triggered. You’ll put the break statement within the block of code under your loop statement, usually after a conditional if statement. LET’s look at an example that uses the break statement in a for loop: number = 0 for number in range(10): if number == 5: break # break here PRINT('Number is ' + str(number)) print('Out of loop') In this small program, the variable number is initialized at 0. Then a for statement constructs the loop as long as the variable number is less than 10. Within the for loop, there is an if statement that presents the condition that if the variable number is equivalent to the integer 5, then the loop will break. Within the loop is also a print() statement that will execute with each iteration of the for loop until the loop breaks, since it is after the break statement. To know when we are out of the loop, we have included a final print() statement outside of the for loop. When we run this code, our output will be the following: Output Number is 0 Number is 1 Number is 2 Number is 3 Number is 4 Out of loop This shows that once the integer number is evaluated as equivalent to 5, the loop breaks, as the program is told to do so with the break statement. The break statement causes a program to break out of a loop. Continue Statement The continue statement gives you the option to skip over the part of a loop where an external condition is triggered, but to GO on to complete the rest of the loop. That is, the CURRENT iteration of the loop will be disrupted, but the program will return to the top of the loop. The continue statement will be within the block of code under the loop statement, usually after a conditional if statement. Using the same for loop program as in the Break Statement section above, we’ll use a continue statement rather than a break statement: number = 0 for number in range(10): if number == 5: continue # continue here print('Number is ' + str(number)) print('Out of loop') The difference in using the continue statement rather than a break statement is that our code will continue despite the disruption when the variable number is evaluated as equivalent to 5. Let’s look at our output: Output Number is 0 Number is 1 Number is 2 Number is 3 Number is 4 Number is 6 Number is 7 Number is 8 Number is 9 Out of loop Here, Number is 5 never occurs in the output, but the loop continues after that point to print lines for the numbers 6-10 before leaving the loop. You can use the continue statement to avoid deeply nested conditional code, or to optimize a loop by eliminating frequently occurring cases that you would like to reject. The continue statement causes a program to skip certain factors that come up within a loop, but then continue through the rest of the loop. Pass Statement When an external condition is triggered, the pass statement allows you to handle the condition without the loop being impacted in any way; all of the code will continue to be read unless a break or other statement occurs. As with the other statements, the pass statement will be within the block of code under the loop statement, typically after a conditional if statement. Using the same code block as above, let’s replace the break or continue statement with a pass statement: number = 0 for number in range(10): if number == 5: pass # pass here print('Number is ' + str(number)) print('Out of loop') The pass statement occurring after the if conditional statement is telling the program to continue to run the loop and ignore the fact that the variable number evaluates as equivalent to 5 during one of its iterations. We’ll run the program and consider the output: Output Number is 0 Number is 1 Number is 2 Number is 3 Number is 4 Number is 5 Number is 6 Number is 7 Number is 8 Number is 9 Out of loop By using the pass statement in this program, we notice that the program runs exactly as it would if there were no conditional statement in the program. The pass statement tells the program to disregard that condition and continue to run the program as usual. The pass statement can create minimal classes, or act as a placeholder when working on new code and thinking on an algorithmic level before hammering out details. Explanation: i I hope its clear you all dought .....mark me brainlist.... |
|
| 2104. |
Where is a shortcut icon is placed in computer |
|
Answer» Answer: In MicrosoftWindows, a shortcutis a LINK that POINTS to a program on the COMPUTER. Shortcuts allow you to create links to programs in any folder, START bar, Taskbar, desktopor other locations on the computer. A shortcut in Windows has a small arrow in the bottom left corner of the icon. Shortcut files end with a file extensionof.lnk. |
|
| 2105. |
Q create a Rdms for a library which includes the tables students ,book ,authors ,types and transactions. |
|
Answer» The SQL data manipulation language (DML) is USED to query and modify database data. In this chapter, we will describe how to use the SELECT, INSERT, UPDATE, and DELETE SQL DML COMMAND statements, defined below. SELECT – to query data in the database INSERT – to insert data into a table UPDATE – to update data in a table DELETE – to delete data from a table |
|
| 2106. |
What are inbuilt classes in java???name one two classes.(don't try to spam) |
Answer»
|
|
| 2107. |
What are the types of storage device |
|
Answer» Answer: The types of STORAGE DEVICE are primary storage device and secondary storage device . Explanation: HOPE it HELPS you a lot....... Good NIGHT friend ... |
|
| 2108. |
Write a script in python, which scrapes video views, uploaded date, comments, like, dislikes from youtube for given video links. Write output in csv format. |
|
Answer» Answer: In this ARTICLE, we will learn how can we obtain data (like title, views, likes, dislikes etc) from any YouTube video using a Python script. For this task, we are going to use very famous LIBRARY for web scraping BeautifulSoup and Requests. Modules REQUIRED and Installation : Requests : Requests allows you to send HTTP/1.1 requests extremely easily. There’s no NEED to manually add query strings to your URLs. pip install requests Beautiful Soup: Beautiful Soup is a library that makes it easy to scrape information from web pages. It sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and MODIFYING the parse tree. pip install beautifulsoup4 |
|
| 2109. |
List slice is a list in itself.True or False.pls guys quick. |
|
Answer» FALSE is your answer |
|
| 2110. |
Write a script in python, which scrapes video views, uploaded date, comments, like, dislikes from youtube for given video links. Write output in csv format. |
|
Answer» Answer: python is the dangerous snake that FOUNDATION is in MOSTLY in tropical forest it is large snake of +15feet and the weight of approximately 50 kg these kinds of snake cause damage to the peoples because it is poison that cause the peoples deaths it is placed in the zoo of many countries these snake love to eat the RAT , rabbit etc |
|
| 2111. |
2.The given statement : x+1 = x is a valid statement.true or false.pls quick. |
| Answer» | |
| 2112. |
3...........is a device which splits a network connection into various computers.Ob) Switchc) Huba) Router |
|
Answer» Answer: Hub is a device which splits a network connection into VARIOUS COMPUTERS. |
|
| 2113. |
The Filter key is used to ...................... a. Recognize multiple keys pressed as a single keypress. b. Recognize single key pressed as a single keypress. c. Recognize single key pressed as multiple key presses. |
| Answer» | |
| 2114. |
Write a validation rule to ensure that the value of the salary field is less than 50000 |
|
Answer» JAVA algorithm Explanation: int x= input.nextint(); if (x<50000) { SOUR("yes salary is LESS than 50000" } else {sour("no it is not ")} |
|
| 2115. |
கோடிட்ட இடங்களை நிரப்புக.வினையின் பயன் எழுவாயைச் சேருமாயின் அதுஎனப்படும் |
|
Answer» Ho my DEAR friend I don't know the language what languages is this PLZ TELL me |
|
| 2116. |
২পথ ছাড়।জল খাও।হাত ধর।বাড়ি যাও। |
|
Answer» Answer: 2 Get out of the way. Drink water. Hold hands. Go HOME. |
|
| 2117. |
What is the features of mail merge? |
|
Answer» With the HELP of mail merge feature, you can send a same letter to a number of people. Mail merge want the MERGED DOCUMENT which is formed as a RESULT of the combination of the Main document and the data source........ |
|
| 2118. |
Convert octal to hexadecimal a) (3527) b) (7642) |
Answer» CONVERTING OCTAL TO HEXADECIMALExplanation: a)757 b)FA2 |
|
| 2119. |
Differentiate between traditional compilation process and java compilation process |
|
Answer» Explanation: What is the difference between ordinary compilation and Java compilation ? ANS . In ordinary compilation the source code is DIRECTLY converted into MACHINE or object code using an INTERPRETER or a COMPILER . In Java compilation into an the source code is first converted into an intermediate code called the byte code. |
|
| 2120. |
pls pls help " what is ethical hacking,it's advantages and disadvantage in brief note " I will mark brainliest pls pls pls help |
|
Answer» Ethical Hacking- Advantages and Disadvantages Advantages of Ethical Hacking Most of the benefits of ethical hacking are obvious, but many are overlooked. The benefits range from simply preventing malicious hacking to preventing national security breaches. The benefits include: Fighting against terrorism and national security breaches Having a computer system that prevents malicious hackers from gaining access Having ADEQUATE preventative measures in PLACE to prevent security breaches Disadvantages of Ethical Hacking As with all types of activities which have a darker side, there will be DISHONEST people presenting drawbacks. The possible drawbacks of ethical hacking include: The ethical HACKER using the knowledge they gain to do malicious hacking activities Allowing the company’s financial and banking details to be seen The possibility that the ethical hacker will send and/or place malicious code, viruses, malware and other destructive and harmful things on a computer system Massive security breach |
|
| 2121. |
Write HTML code for computer |
|
Answer» Answer: Also change some preferences to GET the application to save files correctly. In Preferences > Format > choose "Plain Text" Then under "OPEN and Save", check the box that says "Display HTML files as HTML code INSTEAD of formatted text". Then open a NEW document to place the code. Step 2: Write Some HTML Write or copy the following HTML code into Notepad:
My FIRST HeadingMy first paragraph. |
|
| 2122. |
pls pls pls help "what is Ethical hacking,it's advantages and disadvantages" in 10 points I will mark brainliest. |
|
Answer» Answer: ADVANTAGE AND DISADVANTAGE........... ● Fighting against TERRORISM and NATIONAL SECURITY breaches ● having a computer SYSTEM that prevents malicious hackers from gaining access ● having adequate preventative measures in place to prevent security breaches THIS IS YOUR ANSWER.......FRIEND |
|
| 2123. |
From which word of Latin language, the word computer is derived? |
|
Answer» putare Explanation: PLS MARK it as BRAINLIEST |
|
| 2124. |
Which is the best graphics card company ? |
|
Answer» Answer: Here is your answer✌️ AMD✌️ NvidiaHope it's help you
FOLLOW + 25 THANKS = INBOX ♥️ |
|
| 2125. |
.1 Write a program to prompt the user for hours and rate per hour using input to compute gross pay. Pay the hourly rate for the hours up to 40 and 1.5 times the hourly rate for all hours worked above 40 hours. Use 45 hours and a rate of 10.50 per hour to test the program (the pay should be 498.75). You should use input to read a string and float() to convert the string to a number. Do not worry about error checking the user input - assume the user types numbers properly. |
| Answer» | |
| 2126. |
Convert the following binary numbers to hexadecimal1) [1010110110111]2 2)[ 1111101110101111]2 no incorrect answers . hurry |
Answer» PLEASE MARK me as BRAINLIST |
|
| 2127. |
Write one janapada kathegalu in kannada |
|
Answer» Answer: hope it's HELPFUL for you ಒನ್ ಜನಪದ ಕಥೆಗಳುOne is the FOLK TALES |
|
| 2128. |
What is java compiler? define it properly. |
| Answer» | |
| 2129. |
To find a word in a document we can use which of the following function key |
|
Answer» Answer: To find a word in a document we can USE F5 from the mentioned options. Another option to find the word in a document is ctrl+f. Both the options will help you find the words that you want in the word document. Once you press these keys pop up BOX will APPEAR you will have to type the word in the box and press enter. Explanation: Mark as brainlist and follow me pls and INBOX me if you have POWER pls inbox me |
|
| 2130. |
What are local operations,max in single iteration , max in double iteration? |
|
Answer» Answer: As you’ve learned, map algebra uses math-like operations. For example, you can apply simple math like addition or multiplication to update raster cell values. The most common type of map algebra is a cell-by-cell function. This type has rasters directly stacked on top of one another. Then, the function applies for cells aligned to each other. But you can also change the configuration so it’s not only cell-by-cell. Here are the types of map algebra operations that you can use: Local Focal Zonal Global The simplest approach is map algebra on a cell-by-cell basis. For example, you have 2 rasters stacked on top of each other. Then, you add each cell one-by-one. If raster cells represent temperature, you can subtract them both at different time PERIODS. By using a local operation, you can find the difference in temperature for each cell. Global operations apply a bulk change to all cells in a raster. If you want to add a value of 1 to all grid cells, this is a global operation. For example, Euclidean distance is an example of a global operation. By calculating the closest distance away from a source, it applies the function globally in a raster. Focal operations are spatial functions that compute an output value of each cell using neighborhood values. For example, convolution, kernel and moving windows are focal operations. MOVING WINDOW: A moving window is a rectangular arrangement of cells that shifts in position. By APPLYING an operation to each cell from a moving window, it commonly smooths values in a raster. Mathematical Functions Here are examples of operations that you can use for map algebra: Arithmetic operations (addition, subtraction, multiplication, division) Statistical operations (minimum, maximum, average, median) Relational operations (greater than, SMALLER than, equal to) Trigonometric operations (sine, cosine, tangent, arcsine) Exponential and LOGARITHMIC operations (exponent, logarithm) |
|
| 2131. |
What is a computer and it's function |
|
Answer» Answer:
Hope it will be helpful ✌️ |
|
| 2132. |
Which of the following is a shortcut key to redo any operation |
|
Answer» Answer: The KEYBOARD Shortcut Command for REDO is Ctrl+Y or Ctrl+Shrift+Z in MICROSOFT Windows and Command-Shift-Z or Command-Y in Apple Macintosh. |
|
| 2133. |
How was the discovary of agriculture useful for early humans |
|
Answer» Answer: DISCOVERY of agriculture make the human life easier .. ... the discovery also make humans to SETTLE down and make them to not move whole around the forest . it also HELP them to grow DIFFERENT variety of crops and fruits. the discovery make the human to known about the insect which help in agriculture . |
|
| 2134. |
How can we change the name of a liar and gave it another name |
|
Answer» Answer: EXPLANATION:we can change it by saying HI'm that again and again |
|
| 2135. |
What is the role of system software? Explain any two system sotware. |
|
Answer» Answer: HARDWARE and software is the answer for your QUESTION dear FRIEND |
|
| 2136. |
convert binary to hexa decimal 1) [ 1010110110111 ] ₂ 2) 1111101110101111 ]₂ pls correct ans only its really urgent |
|
Answer» FIRST ONE is (5559) and SECOND is 64431 Explanation: |
|
| 2137. |
Who am i ?1) I am the output that we see on monitor who am I ?2)I am the process through which the window operating system gets loaded into the computer memory automatically who am I ? |
|
Answer» Answer: 1 ) Don't Know 2 ) Booting Explanation: |
|
| 2138. |
You cannot insert shape like star in word document .write true and false |
Answer» You cannot insert SHAPE LIKE star in word DOCUMENT. (FALSE) |
|
| 2139. |
Why structure is used in C? |
|
Answer» Structure is a user-defined datatype in C language which allows us to COMBINE data of DIFFERENT types together. Structure helps to CONSTRUCT a complex data type which is more MEANINGFUL. It is somewhat similar to an Array, but an array holds data of similar type only. ... In structure, data is stored in form of records. Explanation: i hope it will help youGive thanksplease make me as brianleaist |
|
| 2140. |
It contains different options to workin Paint.1- Paint Button2- Menu bar3- Task bar |
| Answer» | |
| 2141. |
You can convert regular text into word art .write to and Falls |
| Answer» | |
| 2142. |
It contains tools arranged in different groups |
|
Answer» Answer: The Paint Window The Title Bar. At the LEFT end of the Title Bar the first ITEM shows a little paint palette. ... The Menu Bar. The Menu bar has three items on the left and a HELP button at the FAR right. ... Transparent selection. ... Rectangular selection. ... Freeform selection. ... Copying a selection. ... PAINTING with a selection. ... Crop. Read more on Brainly.in - brainly.in/question/13501643#readmore |
|
| 2143. |
If you want to step to transparent then select the option. write true and false |
| Answer» | |
| 2144. |
Pls pls pls help "Ethical hacking disadvantages" in 10 points I will mark brainliest. |
|
Answer» Answer: i know your answer Explanation: Allowing the company's financial and BANKING details to be SEEN. The possibility that the ETHICAL hacker will send and/or place MALICIOUS code, viruses, malware and other destructive and harmful things on a computer system. Massive security breach. Plz mark me brainiliest |
|
| 2145. |
Name the tool used to adjust the size of an image |
|
Answer» EDIT crop Explanation: |
|
| 2146. |
Heyy answer this questions |
|
Answer» Answer: 1) private cloud . 2)Cloud computing is offered in three different service models which each satisfy a unique set of business requirements. These three models are known as Software as a Service (SaaS), PLATFORM as a Service (PaaS), and Infrastructure as a Service (IaaS)......{I don't know the proper answer but I guess it will give u a hind} 3)Platform as a service (PAAS) 4)Cloud BACKUP {Not sure} 5)Deleted files folder{Not sure about this one also} 6)I don't know the last answer.... Hey dear first check the answers are right or wrong cause I am not interested in computer subject..... And don't know which answer is right and which answer is wrong.... But I hv tried my level best to help u ..... |
|
| 2147. |
What is the summary of the people upstairs..... |
|
Answer» Answer: The PEOPLE UPSTAIRS’ by Ogden Nash is a short nonsense POEM that describes one speaker’s experience with his upstairs neighbours. Hope it will be HELPFUL ✌️ |
|
| 2148. |
You cannot move a text box from one position to another position write true and false |
|
Answer» Answer: |
|
| 2149. |
Contains everything inside the chart window |
|
Answer» ANSWER Chart area contains everything inside the chart window. You can FIND everything in the chart areas including labels, axes, DATA markers, RICK MARKS and other elements PLEASE MARK ME AS BRAINLIEST |
|
| 2150. |
Which function key allowsyou to run the slideshow ?(b) F3(C) F5(a) F1(d) F7 |
|
Answer» OPTION D F7 Hope U UNDERSTAND Tag me as brainliest |
|