Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
FIbonacci Series Program function fibonacciSequence(input) { var a=0;b=1;c=0; var array1=[0,1]; for(var i=2;i<=input;i++) { c=a+b; a=b; b=c; array1.push(c) } return array1; }
Home
Technology
FIbonacci Series Program function...
asked
Feb 24, 2021
in
Technology
by
JackTerrance
FIbonacci Series Program function fibonacciSequence(input) { var a=0;b=1;c=0; var array1=[0,1]; for(var i=2;i<=input;i++) { c=a+b; a=b; b=c; array1.push(c) } return array1; } 1 .Above code is Correct 2. Above code is incorrect
interview-question-answer
technology-questions-answers
1
Answer
0
votes
answered
Feb 24, 2021
by
JackTerrance
Answer:-it is correct statement
Related questions
0
votes
Q: FIbonacci Series Program function fibonacciSequence(input) { var a=0;b=1;c=0; var array1=[0,1]; for(var i=2;i<=input;i++) { c=a+b; a=b; b=c; array1.push(c) } return array1; }
FIbonacci Series Program function fibonacciSequence(input) { var a=0;b=1;c=0; var array1=[0,1]; for(var i=2;i<= ... [endif]--> a) True b) False Read Loans and Insurance questions...
asked
Oct 9, 2020
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: Write a menu-driven program to print the following patterns, where number of rowsfor the pattern should be the user input:a. Press 1 to print the following pattern:55 85 8 135 8 13 205 8 13 20 29b. Press 2 to print the following pattern:22 92 9 282 9 28 652 9 28 65 126c. Print the following series:
Write a menu-driven program to print the following patterns, where number of rows for the pattern should be the user ... 2 4 8 32 Select the correct answer from above options...
asked
Nov 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: function multi(a,b) { var ans = a * b; return ans; } var c = _________
function multi(a,b) { var ans = a * b; return ans; } var c = _________ 1. multi(15,2); 2. multi 15, 2; 3. multi();...
asked
Feb 26, 2021
in
Technology
by
JackTerrance
interview-question-answer
technology-questions-answers
0
votes
Q: write a program to print fibonacci series . write a program to search an element within the array using binary search
write a program to print fibonacci series . write a program to search an element within the array using binary search Select the correct answer from above options...
asked
Dec 29, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program to generate first 20 terms of Fibonacci series and store them in single dimension array. Display the prime Fibonacci numbers from the array
Write a program to generate first 20 terms of Fibonacci series and store them in single dimension array. Display ... from the array Select the correct answer from above options...
asked
Dec 10, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: In a series RLC circuit excited by a voltage 3e^-t u (t), the resistance is equal to 1 Ω and capacitance = 2 F. For the circuit, the values of I (0^+) and I (∞), are ____________
In a series RLC circuit excited by a voltage 3e^-t u (t), the resistance is equal to 1 Ω and capacitance ... for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked
Oct 12, 2021
in
Education
by
JackTerrance
0
votes
Q: If A =1,B’=0, C=0 are the input of a NOR GATE what will be the out put
If A =1,B’=0, C=0 are the input of a NOR GATE what will be the out put Select the correct answer from above options...
asked
Dec 13, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: If A =1,B’=0, C=0 are the input of a NOR GATE what will be the out put.
If A =1,B’=0, C=0 are the input of a NOR GATE what will be the out put. Select the correct answer from above options...
asked
Dec 11, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: If A =1,B’=0, C=0 are the input of a NOR GATE what will be the out put.
If A =1,B’=0, C=0 are the input of a NOR GATE what will be the out put. Select the correct answer from above options...
asked
Dec 11, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: For a series RLC circuit, excited by voltage V = 20 sinωt. The values of R = 2 Ω, L = 1mH and C = 0.4 µF. The resonant frequency of the circuit is ______________
For a series RLC circuit, excited by voltage V = 20 sinωt. The values of R = 2 Ω, L = 1mH and C ... Questions for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked
Oct 19, 2021
in
Education
by
JackTerrance
network-theory-questions-and-answers
network-theory-questions-pdf
network-theory-question-bank
network-theory-gate-questions-and-answers-pdf
mcq-on-network-theory-pdf
gate-network-theory-questions-and-solutions
network-theory-mcq-test
0
votes
Q: For a series RLC circuit, excited by voltage V = 20 sinωt. The values of R = 2 Ω, L = 1mH and C = 0.4 µF. The quality factor and bandwidth of the circuit is ______________
For a series RLC circuit, excited by voltage V = 20 sinωt. The values of R = 2 Ω, L = 1mH and C ... Questions for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked
Oct 19, 2021
in
Education
by
JackTerrance
network-theory-questions-and-answers
network-theory-questions-pdf
network-theory-question-bank
network-theory-gate-questions-and-answers-pdf
mcq-on-network-theory-pdf
gate-network-theory-questions-and-solutions
network-theory-mcq-test
0
votes
Q: Derive a Canonical POS expression for a Boolean function F,represented by the following truth table : 1A B C F0 0 0 01 0 0 10 1 0 11 1 0 00 0 1 01 0 1 10 1 1 0
Derive a Canonical POS expression for a Boolean function F, represented by the following truth table : 1 A B C F 0 0 0 ... 1 0 1 1 1 1 Select the correct answer from above options...
asked
Dec 23, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: a) Derive a Canonical POS expression for a Boolean function F,represented by the following truth table : 1A B C F0 0 0 01 0 0 10 1 0 11 1 0 00 0 1 01 0 1 10 1 1 0
a) Derive a Canonical POS expression for a Boolean function F, represented by the following truth table : 1 A B C F 0 0 ... 1 0 1 1 1 1 Select the correct answer from above options...
asked
Nov 28, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: In a series RLC circuit R = 10 kΩ, L = 0.5 H and C = \(\frac{1}{250}\) μF. Calculate the frequency when the circuit is in a state of resonance.
In a series RLC circuit R = 10 kΩ, L = 0.5 H and C = \frac{1}{250} μF. Calculate the frequency ... theory Questions for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
asked
Oct 19, 2021
in
Education
by
JackTerrance
network-theory-questions-and-answers
network-theory-questions-pdf
network-theory-question-bank
network-theory-gate-questions-and-answers-pdf
mcq-on-network-theory-pdf
gate-network-theory-questions-and-solutions
network-theory-mcq-test
0
votes
Q: What will be the output of the following Python program? def foo(x): x[0] = ['def'] x[1] = ['abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
What will be the output of the following Python program? def foo(x): x[0] = ['def'] x[1] = ['abc'] return id(x) q = ['abc ... (id(q) == foo(q)) a) Error b) None c) False d) True...
asked
Jan 2, 2023
in
Technology
by
JackTerrance
python-questions-answers
...