Renewable Energy MCQ (Solar Thermal System) Unit – 3 AKTU

Renewable Energy MCQ unit 3 – Here’s the list of chapters on the “Renewable Energy” subject covering 100+ topics. You… Read More

Given an array as input,find the largest number in the array.Using Javascript

let arr=[5,18,26,30,40,6]; function largest(arr) { let i; let max = arr[0]; for (i = 1; i < arr.length; i++) {… Read More

Given an array,print the sum of the even and odd numbers in the array.Javascript Program

const number=[3,4,5,12]; let sum=0; let sum1=0; for(let i=0;i<number.length;i++) { if(number[i]%2==0) { sum=sum+number[i]; } else if(number[i]%2==1) { sum1=sum1+number[i]; } } console.log('Even… Read More

Given an array,print the sum and count of the multiples of 3 in the array. Javascript Program

const number=[3,4,5,12]; let sum=0; let count=0; for(let i=0;i<number.length;i++) { if(number[i]%3==0) { sum=sum+number[i]; count++; } } console.log('3Sum='+sum+',3Count='+count); Read More

What is an array.Why do we use arrays

An array is a data structure, which can store a fixed-size collection of elements of the same data type. An… Read More

Write a Javascript program for Insert Angular, React and Node after Javascript

const techs=['Python','Javascript','C','Java']; console.log(techs); for(let i=0;i<techs.length;i++) { if(techs[i]=='Javascript') { techs.splice(i+1,0,'Angular','React','Node'); break; } } console.log(techs); Read More

Remove Hello from array Javascript Program with source code

const strings=['Hi','Hello','X','Y']; for(let i=0;i<strings.length;i++) { if(strings[i]=='Hello') { strings.splice(i,1); break; } } console.log(strings); Read More

All Unit MCQ’s Questions of Image Processing for AKTU Exam 2021

MCQ’s Questions of Image Processing Unit 1 1. What is the first and foremost step in Image Processing?a) Image restorationb)… Read More

All Unit MCQ’s of Data Compression AKTU Exam 2021

Unit 1 Data compression means to the file size. IncreaseDecreaseCan’t sayNone of the above Answer Correct option is B Data compression… Read More

Define a function that a number n as parameter and returns the sum of the
numbers from 1 to n Javascript Program

let n=20; function findSum(n) { let sum = 0; for (let x = 1; x <= n; x++) sum =… Read More

Given a string remove all + present together in the string. Javascript Program

Input string ='a+++b++c+'; Output String=a+b+c+ Source Code let str='a+++b++c+'; let outStr=''; let len=str.length; for(let i=0;i<len;i++) { if(str[i]=='+'&&str[i+1]=='+') { outStr=outStr+''; }… Read More

Top 50+ Computer architecture interview questions | COA questions

COA interview questions – Top 50+ computer architecture interview questions Computer architects use specialized knowledge of computer software and hardware… Read More

Given a string str, create a string consisting of all the non-alphabets and non-digits.

JavaScript code let str='q#w2@B**g'; let len=str.length; let alpha=''; let alpha1=''; let rest=''; let digits=''; for(let i=0;i<len;i++) { if(str[i]>='a'&&str[i]<='z') { alpha=alpha+str[i];… Read More

Top 150+ Computer Organization and Architecture MCQ Questions

COA INTRODUCTION: Computer Organization and Architecture is the study of internal working, structuring and implementation of a computer system. Architecture… Read More

Top 50+ Computer Organization and Architecture MCQ Questions

Top 50+ Computer Organization and Architecture MCQ Questions – Computer Organization and Architecture INTRODUCTION: Computer Organization and Architecture is the… Read More

This website uses cookies.