🚀 Join 1,200+ candidates currently preparing with PrimerPrep

Complete Question Index

Browse through all 1416 practice questions (Page 10 of 10)

Software EngineeringLooping Statements

What is true about FOR LOOP?

Software EngineeringLooping Statements

Jack wants to book flight tickets in Feather-Airways online portal for his family of five. Passenger details like name, age, gender etc. should be ent...

Software EngineeringLooping Statements

What will be the output for WHILE loop? BEGIN DECLARE number SET number <-- 30 WHILE number>0 number <-- number-4 END WHILE PRINT number END

Software EngineeringLooping Statements

What is the output for FOR-loop snippet? FOR i <--1 to 15 PRINT i i <-- i+3 END FOR

Software EngineeringLooping Statements

Which of the following symbols is inappropriate in building the flowchart pertaining to sequential flow of program?

Software EngineeringLooping Statements

The statement / statements within the loop must get executed at least once except for do-while statement. State True/False.

Software EngineeringLooping Statements

Which of the following statements are true with respect to looping statements?

Software EngineeringLooping Statements

Which of the following statements are true?

Software EngineeringLooping Statements

Consider you have a Rubik cube with different colors in each face. To solve this cube, you will continue to rotate the sides until you reach same colo...

Software EngineeringLooping Statements

d f a o n w h g r l e t m p i DOWN: 1) Step by step list of instructions 4) When you know the exact number of iterations, this loop is used Across: 2)...

Software EngineeringLooping Statements

Identify the logic which suits the flowchart?

Software EngineeringLooping Statements

It's Halloween. You go from house to house, tricking or treating. You get 2 candies from each house that you go to. You must return home once you coll...

Software EngineeringLooping Statements

Looping statements are also called ____________ a. Program logic b. Iteration logic c. Selection logic d. Sequence logic

Software EngineeringLooping Statements

Select the appropriate code snippet for the given problem statement provided as pseudocode. Problem Statement : Strong number Check if a given number ...

Software EngineeringLooping Statements

Choose the pseudocode for the below problem statement. Problem Statement : Vehicle Registration Mr.William buys a new Audi car. During the vehicle reg...

Software EngineeringSelection Statement

______________must be used when a set of statements needs to be executed only if a condition is met.

Software EngineeringSelection Statement

Consider the pseudo-code snippet. What output do you think the snippet will produce if the sample input for number is 3? BEGIN DECLARE number READ num...

Software EngineeringSelection Statement

From the option, find the correct pseudo-code to find the greatest of three numbers

Software EngineeringSelection Statement

READ age IF age>18 THEN PRINT Eligible to vote ENDIF The given pseudo-code snippet is an example for_______

Software EngineeringSelection Statement

By default, the flow of a program is________

Software EngineeringSelection Statement

If there are 6 chocolates and you take away 4, how many do you have?

Software EngineeringSelection Statement

What do you infer from this statement? Only if Alvin is happy, then he does not go to work.

Software EngineeringSelection Statement

Go to statements in the algorithm is

Software EngineeringSelection Statement

Identify the logic which suits the flowchart

Software EngineeringSelection Statement

Try some!!! If a doctor gives you 3 pills and tells you to take one pill every half hour, how long would it take before all the pills had been taken?

Software EngineeringSelection Statement

Which statement logic implements multiple-way selection?

Software EngineeringSelection Statement

Manual execution of the steps in the algorithm is called as _____

Software EngineeringSelection Statement

When a single if-else logic is used, how many possible choices can be there?

Software EngineeringSelection Statement

You are returning home from a hotel. On the way, you find a sealed envelope in a street, fully addressed with unused stamps on it. What would you do??...

Software EngineeringSelection Statement

Which of the following is not a keyword used in a pseudo-code

Software EngineeringSelection Statement

Choose the correct options to complete the pseudo-code and determine whether the number is positive, zero, or negative. BEGIN DECLARE number READ numb...

Software EngineeringSelection Statement

Decision statements are also called as _______________. a. Selection logic b. Iteration logic c. Program logic d. Sequence logic

Software EngineeringSelection Statement

A computer program must either use conditional statements or looping statements or sequential statements to solve a problem. All of them must not appe...

Software EngineeringSelection Statement

Identify the correct pseudo-code logic for checking a number divisible by 5 or 11. a. DECLARE number READ number IF number%5==0 THEN PRINT number divi...

Software EngineeringSelection Statement

Which of the keyword is used to close the IF block, while writing a pseudo-code?

Web TechnologyHtml

Consider the below webpage: Which of the following is used to do this ?

Web TechnologyHtml

If the phone number should accept only 10 digit numbers, which of the following options will suit?

Web TechnologyHtml

Ram has designed a portal with 'like' and 'unlike' image buttons that redirect to 'thanks.html'. Which HTML code correctly implements this?

Web TechnologyHtml

HTML stands for __________

Web TechnologyHtml

Which element is a container for all the head elements, and may include the document title, scripts, styles, meta information, and more?

Web TechnologyHtml

An application that lets you search and see material on the internet is

Web TechnologyJavascript

Choose the correct JavaScript statement which helps you to write "World of JavaScript" in a web page.

Web TechnologyJavascript

Which of the below is the correct syntax for exectuing some code if "amt" is equal to 5000?

Web TechnologyJavascript

Polson needs to extract every character from a text string for email validation. Which JavaScript method is best suited?

Web TechnologyJavascript

Ram's banking website has a 'Check Interest Rates' button that should redirect users to a separate page. Which JavaScript code accomplishes this?

Web TechnologyJavascript

Predict the output of the following JavaScript code: <html> <head> <script> var txt= "pass 70% fail 30%"; var pattern = /\D/g; var res= txt.match(patt...

Web TechnologyJavascript

What is the output of the below code snippet <script type="text/javascript"> amt=55+"55"; document.write(amt); </script>

Web TechnologyJavascript

The parseInt() method converts the string to a integer. Before applying this function, Ram wants to know the type of the argument that is passed to th...

Web TechnologyJavascript

When a user views a page containing a JavaScript program, which machine actually executes the script?

Web TechnologyJavascript

David, a beginner in web development trying to perform one particular operation using client side JavaScript. Choose the correct option(s) that he can...

Web TechnologyJavascript

When you want to enclose; some JavaScript statements to an HTML file, which is the correct tag you have to use?

Web TechnologyJavascript

Which of the below statements are used to comment a line in JavaScript file?

Web TechnologyJavascript

Sita wishes to greet the user when the user clicks on "Greet Me" button. In which event does she need to write the JavaScript code for greeting the us...

Web TechnologyJavascript

Which of the below java script code helps to change the content of the paragraph tag dynamically? <p id="pid1">Aim Higher.. Sky is your limit

Web TechnologyJquery

Rhita wants to replace jQuery's $(document).ready(fun) with an equivalent shorter method.

Web TechnologyJquery

$("#name").remove(); This will remove the text field when you click on the button. State true or false.

Web TechnologyJquery

jQuery is a JavaScript Object Notation library

Web TechnologyJquery

Bind an event handler to the "blur" JavaScript event on an element.

Web TechnologyJquery

Raju wants to remove an event handler that was attached with on() function.Help him to select the correct option.

Web TechnologyJquery

John sets an element's CSS position property to its default value and applies jQuery animations. What is the output?

Web TechnologyJquery

Kiran wants to remove all the child nodes from the given div element. Help him to select the correct option to remove all the child node from the div ...

Web TechnologyJquery

Some users don't want animations to interfere with their web page experience. How can a user turn off animations?

Web TechnologyJquery

When referencing an HTML element using jQuery preceded by a # , what JavaScript function is this equivalent to?

Web TechnologyJquery

If you want to change the color of a link to red when moving mouse pointer on top of it, which CSS property you need to change?

Web TechnologyJquery

Which of the following is most appropriate tag in html 5 to divide the document into logical document groups?

Web TechnologyJquery

The following elements are newly added elements in HTML5: <section> <article> <aside> These elements are called _____________

PreviousPage 10 of 10