A mistake in an algorithm that causes incorrect results is called a
a) logical error
b) syntax error
c) procedural error
d) compiler error
e) None of these

1 Answer

Answer :

b) syntax error

Related questions

Description : A mistake in an algorithm that causes incorrect results is called: a) Logical Error b) Syntax Error c) Procedural Error d) None of These

Last Answer : a) Logical Error

Description : The errors that can be pointed out by the compiler are 1) Syntax error 2) Symantic error 3) Logical error 4) Internal error

Last Answer : 1) Syntax error

Description : A ______ contains specific rules and words t hat express the logical steps of an algorithm a) Programming language b) Syntax error c) Programming structure d) Logic chart e) None of these

Last Answer : a) Programming language

Description : A _____ contains specific rules and words that express the logical steps of an algorithm. 1) Syntax 2) Programming structure 3) Programming language 4) Logic chart 5) None of these

Last Answer : Answer :3

Description : A ...... contains specific rules and words that express the logical steps of an algorithm. 1) Programming Language 2) Programming Structure 3) Syntax 4) Logic chart

Last Answer : 3) Syntax

Description : The compiler _ translate a program code with any syntax error: a. Can b. Cannot c. Without d. None of these

Last Answer : b. Cannot

Description : which type of errors are detected by the assembler: a. syntax error b. logical error 9 run time error a none of these

Last Answer : a. syntax error

Description : What type of errors are not detected by assemblers: a. Syntax error b. Runtime error c. Logical error

Last Answer : c. Logical error

Description : A compiler translates a program written in a high-level language into a) Machine language b) An algorithm c) A debugged program d) Java e) None of these

Last Answer : a) Machine language

Description : A compiler translates a program written in a high level language into 1) Machine Language 2) An algorithm 3) A debugged program 4) None of these

Last Answer : 1) Machine Language

Description : Which one of the following converts assembly language into machine language ? (1) Algorithm (2) Interpreter (3) Compiler (4) Assembler

Last Answer : Assembler

Description : When an algorithm is written in the form of a programming language, it becomes a _________ a) Flowchart b) Program c) Pseudo code d) Syntax

Last Answer : Answer: b Explanation: An algorithm becomes a program when it is written in the form of a programming language. Thus, any program is an algorithm

Description : The word ____________comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi. a) Flowchart b) Flow c) Algorithm d) Syntax

Last Answer : Answer: c Explanation: The word algorithm comes from the name of a Persian mathematician Abu Ja’far Mohammed ibn-i Musa al Khowarizmi

Description : What are logical errors and how does it differ from syntax errors?

Last Answer : Program that contains logical errors tend to pass the compilation process, but the resulting output may not be the expected one. This happens when a wrong formula was inserted into the code, or ... the other hand, deal with incorrect commands that are misspelled or not recognized by the compiler.

Description : Which phase of compiler generates stream of atoms ? (A) Syntax analysis (B) Lexical Analysis (C) Code generation (D) Code optimization 

Last Answer : (A) Syntax analysis

Description : Consider the following statements related to compiler construction: I. Lexical Analysis is specified by context-free grammars and implemented by pushdown automata. II. Syntax Analysis is specified by regular expressions and implemented by ... Only l (2) Only ll (3) Both I and II (4) Neither I nor Il

Last Answer : Answer: 4

Description : Modules X and Y operate on the same input and output data, then the cohesion is (A) Sequential (B) Communicational (C) Procedural (D) Logical

Last Answer : (B) Communicational

Description : Which of the following is incorrect? Algorithms can be represented: a) as pseudo codes b) as syntax c) as programs d) as flowcharts

Last Answer : Answer: b Explanation: Representation of algorithms: -As programs -As flowcharts -As pseudo codes

Description : Point out the incorrect answer. Evidence may be  (a) Direct and indirect (b) Primary and secondary (c) Oral and documentary (d) Procedural and substantive

Last Answer : (d) Procedural and substantive

Description : .Which one is used for compute the logical inference algorithm? a. Validity b.Satisfiability c. Logical equivalence d.All of these

Last Answer : d.All of these

Description : What is syntax error?

Last Answer : Syntax errors are associated with mistakes in the use of a programming language. It maybe a command that was misspelled or a command that must was entered in lowercase mode but was instead entered with an ... symbol, or lack of symbol, somewhere within a line of code can also lead to syntax error.

Description : Virtual constructor: Constructors cannot be virtual. Declaring a constructor as a virtual function is a syntax error. Does c++ support multilevel and multiple inheritance?

Last Answer : Yes.

Description : Select the incorrect statement from the following. (a) Galactosemia is an inborn error of metabolism. (b) Small population size results in random genetic drift in a population. (c) Baldness is a sex-limited trait. (d) Linkage is an exception to the principle of independent assortment in heredity

Last Answer : (c) Baldness is a sex-limited trait.

Description : A set of rules for telling the computer what operations to perform is called a a) procedural language b) structures c) natural language d) programming language e) None of these

Last Answer : d) programming language

Description : ________ error will show if we try to send text string instead of bytes. a) TypeError b) Error c) Linker error d) Compiler error

Last Answer : TypeError

Description : Process of removing errors called a) Error Free b) Debug c) Syntax Error d) Exception

Last Answer : b) Debug

Description : Q No. 3: (a) How MMU is used to address the physical and logical cache arrangement Explain the difference between Least recently used and least frequently used replacement algorithm?

Last Answer : Q No. 3: (a) How MMU is used to address the physical and logical cache arrangement? Explain the difference between Least recently used and least frequently used replacement algorithm.

Description : What will backward chaining algorithm will return? a) Additional statements b) Substitutes matching the query c) Logical statement d) All of the mentioned

Last Answer : b) Substitutes matching the query

Description : Which are needed to compute the logical inference algorithm? a) Logical equivalence b) Validity c) Satisfiability d) All of the mentioned

Last Answer : d) All of the mentioned

Description : My calculator keeps saying syntax error over 10.2x10^12 why?

Last Answer : ok it works if I type in x10^12 but if I use the button x10^x it gives a syntax error.

Description : What is the output of the following code? a={1:"A",2:"B",3:"C"} print(a.get(5,4)) a) Error, invalid syntax b) A c) 5 d) 4

Last Answer : d) 4

Description : Suppose d = { john :40, peter :45}, what happens when we try to retrieve a value using the expression d[ susan ]? a) Since susan is not a value in the set, Python raises a KeyError ... Python raises a KeyError exception d) Since susan is not a key in the set, Python raises a syntax error

Last Answer : c) Since “susan” is not a key in the set, Python raises a KeyError exception

Description : What will be the output of the following Python code? nums = set([1,1,2,3,3,3,4,4])print(len(nums)) a) 7 b) Error, invalid syntax for formation of set c) 4 d) 8

Last Answer : Answer: c Explanation: A set doesn’t have duplicate items.

Description : What will be the output of the following segment of the program? main( ) { char *s = “hello world”; int i = 7; printf(“%, *s”, i, s); } (A) Syntax error (B) hello w (C) hello (D) o world

Last Answer : Answer: Marks given to all

Description : What is the output of the following program ? (Assume that the appropriate pre-processor directives are included and there is no syntax error) main() { char S[ ] = "ABCDEFGH"; printf ("%C",* (& ... Base address of S is 1000 */ } (A) ABCDEFGH1000 (B) CDEFGH1000 (C) DDEFGHH1000 (D) DEFGH1000

Last Answer : (D) DEFGH1000

Description : In the third Generation of computers A) Distributed data processing first became popular B) An operating system was first developed C) High level procedural language were first used D) Online real time systems first become popular

Last Answer : Answer : D

Description : Basic is language. A) a procedural B) an object oriented C) both A and B D) none of the above

Last Answer : Answer : A

Description : In a rule-based system procedural domain knowledge is in the form of A : Production rules B : Rule interpreters C : Meta-rules D : control rules

Last Answer : A : Production rules

Description : In a rule-based system procedural domain knowledge is in the form of A : Production rules B : Rule interpreters C : Meta-rules D : control rules

Last Answer : A : Production rules

Description : In a rule-based system procedural domain knowledge is in the form of A : Production rules B : Rule interpreters C : Meta-rules D : control rules

Last Answer : A : Production rules

Description : One of the principal advantage of object oriented programming techniques over procedural programming techniques is that they enable programmers to create ______that do not need to be changed when a new type of object is added: a) Networks b) Modules c) Data Slates d) None of These

Last Answer : b) Modules

Description : OOP uses a different set of programming languages than old procedural programming languages such as: a) C b) Pascal c) Both of Above d) None of These

Last Answer : c) Both of Above

Description : Which one of the following is not a definition of error ? (A) It refers to the discrepancy between a computed, observed or measured value and the true, specified or theoretically correct value. (B) It ... to fail. (D) It refers to human action that results in software containing a defect or fault. 

Last Answer : The input, or clock pulse.

Description : A(n) _____ program is one that is ready to run and does not need to be altered in any way. a) Interpreter b) High level c) Compiler d) Executable e) None of these

Last Answer : d) Executable

Description : A(n) ______ is a set of programs designed to manage the resources of a computer, including starting the computer, managing programs, managing memory and coordinating tasks between input and output devices. a) application suite b) compiler c) input/output system d) operating system e) None of these

Last Answer : d) operating system

Description : A computer Program that translates one program instruction at a time into machine language is called a/an A) Interpreter B) CPU C) Compiler D) Simulator

Last Answer : Answer : A

Description : A computer program that converts an entire program into machine language is called a/an A) Interpreter B) Simulator C) Compiler D) Commander

Last Answer : Answer : C

Description : A computer program that converts an entire program into machine language at one time is called a/an A) Interpreter B) CPU C) Compiler D) Simulator

Last Answer : Answer : C

Description : The translator program used in assembly language is called A) Compiler B) Interpreter C) Assembler D) Translator

Last Answer : Answer : C