🚀
Join 1,200+ candidates currently preparing with PrimerPrep
Primer
Prep
Assessments
Must-Know Questions
Success Primer Exam
Explore
Toggle theme
Complete Question Index
Browse through all 1465 practice questions (Page 10 of 10)
Software Engineering • Looping Statements
What is true about FOR LOOP?
Software Engineering • Looping 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 Engineering • Looping 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 Engineering • Looping Statements
What is the output for FOR-loop snippet? FOR i <--1 to 15 PRINT i i <-- i+3 END FOR
Software Engineering • Looping Statements
Which of the following symbols is inappropriate in building the flowchart pertaining to sequential flow of program?
Software Engineering • Looping Statements
The statement / statements within the loop must get executed at least once except for do-while statement. State True/False.
Software Engineering • Looping Statements
Which of the following statements are true with respect to looping statements?
Software Engineering • Looping Statements
Which of the following statements are true?
Software Engineering • Looping 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 Engineering • Looping 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 Engineering • Looping Statements
Identify the logic which suits the flowchart?
Software Engineering • Looping 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 Engineering • Looping Statements
Looping statements are also called ____________ a. Program logic b. Iteration logic c. Selection logic d. Sequence logic
Software Engineering • Looping Statements
Select the appropriate code snippet for the given problem statement provided as pseudocode. Problem Statement : Strong number Check if a given number ...
Software Engineering • Looping 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 Engineering • Selection Statement
______________must be used when a set of statements needs to be executed only if a condition is met.
Software Engineering • Selection 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 Engineering • Selection Statement
From the option, find the correct pseudo-code to find the greatest of three numbers
Software Engineering • Selection Statement
READ age IF age>18 THEN PRINT Eligible to vote ENDIF The given pseudo-code snippet is an example for_______
Software Engineering • Selection Statement
By default, the flow of a program is________
Software Engineering • Selection Statement
If there are 6 chocolates and you take away 4, how many do you have?
Software Engineering • Selection Statement
What do you infer from this statement? Only if Alvin is happy, then he does not go to work.
Software Engineering • Selection Statement
Go to statements in the algorithm is
Software Engineering • Selection Statement
Identify the logic which suits the flowchart
Software Engineering • Selection 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 Engineering • Selection Statement
Which statement logic implements multiple-way selection?
Software Engineering • Selection Statement
Manual execution of the steps in the algorithm is called as _____
Software Engineering • Selection Statement
When a single if-else logic is used, how many possible choices can be there?
Software Engineering • Selection 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 Engineering • Selection Statement
Which of the following is not a keyword used in a pseudo-code
Software Engineering • Selection 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 Engineering • Selection Statement
Decision statements are also called as _______________. a. Selection logic b. Iteration logic c. Program logic d. Sequence logic
Software Engineering • Selection 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 Engineering • Selection 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 Engineering • Selection Statement
Which of the keyword is used to close the IF block, while writing a pseudo-code?
Web Technology • Html
Consider the below webpage: Which of the following is used to do this ?
Web Technology • Html
If the phone number should accept only 10 digit numbers, which of the following options will suit?
Web Technology • Html
Ram has designed a portal with 'like' and 'unlike' image buttons that redirect to 'thanks.html'. Which HTML code correctly implements this?
Web Technology • Html
HTML stands for __________
Web Technology • Html
Which element is a container for all the head elements, and may include the document title, scripts, styles, meta information, and more?
Web Technology • Html
An application that lets you search and see material on the internet is
Web Technology • Javascript
Choose the correct JavaScript statement which helps you to write "World of JavaScript" in a web page.
Web Technology • Javascript
Which of the below is the correct syntax for exectuing some code if "amt" is equal to 5000?
Web Technology • Javascript
Polson needs to extract every character from a text string for email validation. Which JavaScript method is best suited?
Web Technology • Javascript
Ram's banking website has a 'Check Interest Rates' button that should redirect users to a separate page. Which JavaScript code accomplishes this?
Web Technology • Javascript
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 Technology • Javascript
What is the output of the below code snippet <script type="text/javascript"> amt=55+"55"; document.write(amt); </script>
Web Technology • Javascript
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 Technology • Javascript
When a user views a page containing a JavaScript program, which machine actually executes the script?
Web Technology • Javascript
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 Technology • Javascript
When you want to enclose; some JavaScript statements to an HTML file, which is the correct tag you have to use?
Web Technology • Javascript
Which of the below statements are used to comment a line in JavaScript file?
Web Technology • Javascript
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 Technology • Javascript
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 Technology • Jquery
Rhita wants to replace jQuery's $(document).ready(fun) with an equivalent shorter method.
Web Technology • Jquery
$("#name").remove(); This will remove the text field when you click on the button. State true or false.
Web Technology • Jquery
jQuery is a JavaScript Object Notation library
Web Technology • Jquery
Bind an event handler to the "blur" JavaScript event on an element.
Web Technology • Jquery
Raju wants to remove an event handler that was attached with on() function.Help him to select the correct option.
Web Technology • Jquery
John sets an element's CSS position property to its default value and applies jQuery animations. What is the output?
Web Technology • Jquery
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 Technology • Jquery
Some users don't want animations to interfere with their web page experience. How can a user turn off animations?
Web Technology • Jquery
When referencing an HTML element using jQuery preceded by a # , what JavaScript function is this equivalent to?
Web Technology • Jquery
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 Technology • Jquery
Which of the following is most appropriate tag in html 5 to divide the document into logical document groups?
Web Technology • Jquery
The following elements are newly added elements in HTML5: <section> <article> <aside> These elements are called _____________
[SIMULATION]
Practice Set 1 • SDLC
In which phase of SDLC is the software constructed/developed?
[SIMULATION]
Practice Set 1 • Arrays
Elements stored in an array can be accessed ________.
[SIMULATION]
Practice Set 1 • HTML5 Tags
Which of the following are self-closing/void tags in HTML5?
[SIMULATION]
Practice Set 1 • Functions
What will be the output of the given JavaScript code for calculating the area of a square?
[SIMULATION]
Practice Set 1 • Functions
Predict the output: select ABS(45.926,2) from dual.
[SIMULATION]
Practice Set 1 • GANs
What condition is essential for stable training in Generative Adversarial Networks (GANs)?
[SIMULATION]
Practice Set 1 • Model Complexity
As the complexity of a generative AI model increases, the risk of ________ also increases.
[SIMULATION]
Practice Set 1 • Continuous Integration
Which stage in DevOps involves integrating small code changes frequently?
[SIMULATION]
Practice Set 1 • Agile Manifesto
Which principle is central to Agile methodology?
[SIMULATION]
Practice Set 1 • Command Line
Which command allows you to check whether Python is installed from the command prompt?
[SIMULATION]
Practice Set 1 • Standard Library
Which Python module offers functions for generating random numbers for statistical simulations?
[SIMULATION]
Practice Set 1 • Data Types
Select the correct statements.
[SIMULATION]
Practice Set 1 • File Handling
What will be the content of file shop.txt after executing the shown Python code that writes Apple, Orange, Banana and then swaps the first and third l...
[SIMULATION]
Practice Set 1 • SELECT Expressions
Which query displays employee names and the new salary after an increment of Rs. 1000?
[SIMULATION]
Practice Set 1 • Transactions
Select the command that will revert back all the updates performed by the SQL in the transaction.
[SIMULATION]
Practice Set 1 • Joins
Create a query that joins the customers and orders tables, with the customer's age being less than 25 and the order_id ranging between 2 and 4.
[SIMULATION]
Practice Set 1 • Lambda
When using AWS Lambda, what is the maximum execution time allowed for a single invocation of a function?
[SIMULATION]
Practice Set 1 • Databases
Which best describes the difference between Amazon RDS and Amazon DynamoDB?
[SIMULATION]
Practice Set 1 • Compute
Which AWS service provides virtual servers in the cloud?
[SIMULATION]
Practice Set 2 • Programming
Predict the output: var x = 5 ^ "0"; document.write(parseInt(x));
[SIMULATION]
Practice Set 2 • Programming
Which command is used to find out the version of jquery?
[SIMULATION]
Practice Set 2 • Programming
Predict the output of the program: public class Test { public static void main(String[] args) { int n, temp = 0; int[] num_ar = new int[]{49, 56, 23, ...
[SIMULATION]
Practice Set 2 • Programming
Predict the output of the program: public class JavaIntroduction { String name; int id; double salary; JavaIntroduction(String name, int id, double sa...
[SIMULATION]
Practice Set 2 • Programming
Which of the following options are invalid variable names in Java?
[SIMULATION]
Practice Set 2 • Programming
How can we find the length of a string in Java?
[SIMULATION]
Practice Set 2 • AWS Services
Which AWS service provides scalable cloud storage with a pay-as-you-go pricing model?
[SIMULATION]
Practice Set 2 • AWS Services
What AWS service provides a fully managed and scalable container orchestration service?
[SIMULATION]
Practice Set 2 • AWS Services
Which AWS service provides virtual servers in the cloud?
[SIMULATION]
Practice Set 2 • AWS Services
Which AWS service is designed for data warehousing and business intelligence applications?
[SIMULATION]
Practice Set 2 • AWS Services
What does AWS IAM primarily help you manage?
[SIMULATION]
Practice Set 2 • AWS Services
In AWS, what is the key difference between an EC2 instance store and Amazon EBS?
[SIMULATION]
Practice Set 2 • Comprehensive Assessment
Which two statements are equivalent? 1. 16*4 2. 16>>2 3. 16/2^2 4. 16>>>2
[SIMULATION]
Practice Set 2 • Comprehensive Assessment
In language like C, we are able to assign a char value to int and also a float value to int without doing explicit conversion. This property is termed...
[SIMULATION]
Practice Set 2 • Fundamentals
Which technology underlies the functionality of generative AI models like GPT-3?
[SIMULATION]
Practice Set 2 • Fundamentals
Which statement is true about dataset requirements for effective generative AI training?
[SIMULATION]
Practice Set 2 • Fundamentals
What is a current limitation of generative AI models?
[SIMULATION]
Practice Set 2 • Database Queries
Which keyword is used to retrieve unique values in a SELECT statement in MySQL SQL?
[SIMULATION]
Practice Set 2 • Database Queries
_______ is the type of JOIN which join the table with itself.
[SIMULATION]
Practice Set 2 • Database Queries
Which query will delete the records of customers who ordered more than one item?
[SIMULATION]
Practice Set 2 • Database Queries
Which operator is used to select rows where the Price is not equal to 100?
[SIMULATION]
Practice Set 2 • Database Queries
Which command allows you to mark a point within a transaction so you can roll back to it later?
[SIMULATION]
Practice Set 2 • Database Queries
Predict the output: select ABS(45.926, 2) from dual.
[SIMULATION]
Practice Set 2 • SDLC
_______ prioritizes requirements of the system and implements them in groups.
[SIMULATION]
Practice Set 2 • SDLC
Identify the activities in the analysis phase.
[SIMULATION]
Practice Set 2 • DevSecOps
What is the main objective of integrating security into the DevOps process in DevSecOps?
[SIMULATION]
Practice Set 2 • DevSecOps
What is the purpose of a Security Sprint in DevSecOps?
[SIMULATION]
Practice Set 2 • DevSecOps
Which DevOps practice ensures code is packaged the same way across environments?
[SIMULATION]
Practice Set 2 • Web Development
______ attribute specifies the url track of the audio file in an <audio> element.
[SIMULATION]
Practice Set 2 • Algorithms
Finding the location of the element with a given value is ________.
Previous
Page 10 of 10
Watch Walkthroughs!