Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
CP Live
Aptitude
Puzzles
Projects
ISRO | ISRO CS 2007 | Question 15
Consider the following pseudo-codex:=1;i:=1;while (x <= 1000)begin x:=2^x; i:=i+1;end;What is the value of i at the end of the pseudo-code?(A) 4(B) 5(C) 6(D) 7 Answer: (...
Read More
ISRO
ISRO | ISRO CS 2007 | Question 14
The principal of the locality of reference justifies the use of(A) virtual memory(B) interrupts(C) main memory(D) cache memory Answer: (D) Explanation: Spatial Locality o...
Read More
ISRO
ISRO | ISRO CS 2007 | Question 13
By using an eight bit optical encoder the degree of resolution that can be obtained is (approximately)(A) 1.8o(B) 3.4o(C) 2.8o(D) 1.4o Answer: (D) Explanation: A digital o...
Read More
ISRO
ISRO | ISRO CS 2007 | Question 12
Consider a job scheduling problem with 4 jobs J1, J2, J3, J4 and with corresponding deadlines: ( d1, d2, d3, d4) = (4, 2, 4, 2). Which of the following is not a feasible s...
Read More
ISRO
Sum of product of consecutive Binomial Coefficients
Given a positive integer n. The task is to find the sum of product of consecutive binomial coefficient i.enC0*nC1 + nC1*nC2 + ..... + nCn-1*nCnExamples:Input : n = 3Output...
Read More
Dynamic Programming
Mathematical
binomial coefficient
series-sum
DSA
Check if the n-th term is odd or even in a Fibonacci like sequence
Consider a sequence a0, a1, ..., an, where ai = ai-1 + ai-2. Given a0, a1, and a positive integer n. The task is to find whether an is odd or even.Note that the given sequ...
Read More
Mathematical
Fibonacci
DSA
LinkedList listIterator() Method in Java
The Java.util.LinkedList.listIterator() method is used to return a list-iterator containing the same elements as that of the LinkedList in proper and same sequence startin...
Read More
Java
Java-Collections
Java - util package
Java-Functions
java-LinkedList
LinkedList contains() Method in Java
The Java.util.LinkedList.contains() method is used to check whether an element is present in a LinkedList or not. It takes the element as a parameter and returns True if t...
Read More
Java
Java-Collections
Java - util package
Java-Functions
java-LinkedList
HashSet remove() Method in Java
HashSet remove() method is used to remove a particular element from a HashSet. Note that it is only after JDK version 1.2 and ahead, and will throw compilation errors befo...
Read More
Java
Java-Collections
Java - util package
Java-Functions
java-hashset
HashSet isEmpty() Method in Java
The Java.util.HashSet.isEmpty() method is used to check if a HashSet is empty or not. It returns True if the HashSet is empty otherwise it returns False.Syntax:Hash_Set.is...
Read More
Java
Java-Collections
Java - util package
Java-Functions
java-hashset
HashSet size() Method in Java
The Java.util.HashSet.size() method is used to get the size of the HashSet or the number of elements present in the HashSet.Syntax:Hash_Set.size()Parameters: This method d...
Read More
Java
Java-Collections
Java - util package
Java-Functions
java-hashset
LinkedList lastIndexOf() Method in Java with Examples
The lastIndexOf(Object element) method of LinkedList class present inside java.util package is used to check and find the occurrence of a particular element in the list. I...
Read More
Java
Java-Collections
Java - util package
Java-Functions
java-LinkedList
PHP | gmp_neg() Function
The gmp_neg() function is an in-built function in PHP which returns the negative of a GMP number (GNU Multiple Precision).Syntax :gmp_neg( $num )Parameters : The functio...
Read More
Web Technologies
PHP-gmp
PHP
PHP | gmp_clrbit() Function
The gmp_clrbit() function is an in-built function in PHP which clears a bit of a GMP number (GNU Multiple Precision). The gmp_clrbit() function sets the bit at a specifie...
Read More
Web Technologies
PHP-gmp
PHP
LinkedList indexOf() method in Java
The Java.util.LinkedList.indexOf(Object element) method is used to check and find the occurrence of a particular element in the list. If the element is present then the in...
Read More
Java
Java-Collections
Java - util package
Java-Functions
java-LinkedList
1
...
11202
11203
11204
...
11543