Interview Quizz Logo

 
  • Home
  • About Us
  • Electronics
  • Computer Science
  • Physics
  • History
  • Contact Us
  • ☰
  1. Computer Science
  2. Programming Technologies
  3. Turing Interview Question with Answer

Turing Questions and Answers for Viva

Frequently asked questions and answers of Turing in Programming Technologies of Computer Science to enhance your skills, knowledge on the selected topic. We have compiled the best Turing Interview question and answer, trivia quiz, mcq questions, viva question, quizzes to prepare. Download Turing FAQs in PDF form online for academic course, jobs preparations and for certification exams .

Intervew Quizz is an online portal with frequently asked interview, viva and trivia questions and answers on various subjects, topics of kids, school, engineering students, medical aspirants, business management academics and software professionals.




Interview Question and Answer of Turing


Question-1. What is the Turing programming language?

Answer-1: Turing is a high-level, Pascal-like programming language developed for educational purposes.



Question-2. Who created the Turing programming language?

Answer-2: Turing was developed by Ric Holt and James Cordy at the University of Toronto in 1982.



Question-3. What are the main features of Turing?

Answer-3: Turing is simple, structured, procedural, and supports modular programming.



Question-4. What is Turing used for?

Answer-4: It was primarily used for teaching programming and computer science concepts.



Question-5. What are the types of Turing language?

Answer-5: There are different versions, such as Turing Plus, Object-Oriented Turing (OOT), and Turing 4.1.1.



Question-6. Is Turing still widely used today?

Answer-6: No, it has been largely replaced by modern languages, but it is still used in some educational settings.



Question-7. What is the syntax for printing output in Turing?

Answer-7: put "Hello, World!" prints output to the screen.



Question-8. How do you take user input in Turing?

Answer-8: Using the get statement, e.g., get name.



Question-9. What are the data types available in Turing?

Answer-9: Integer, real, string, boolean, char, and flexible arrays.



Question-10. How do you declare a variable in Turing?

Answer-10: var x : int := 10 declares an integer variable x.



Question-11. How do you write a comment in Turing?

Answer-11: Using the % symbol, e.g., % This is a comment.



Question-12. What is the syntax for an if-else statement in Turing?

Answer-12: if x > 10 then put "Big" else put "Small" end if



Question-13. How do you write a loop in Turing?

Answer-13: Using loop or for, e.g., for i : 1 .. 5 put i end for.



Question-14. What is an exit statement in Turing?

Answer-14: exit is used to break out of a loop.



Question-15. How do you define a procedure in Turing?

Answer-15: procedure greet(name : string) put "Hello, " + name end greet



Question-16. How do you call a procedure in Turing?

Answer-16: greet("Alice").



Question-17. How do you define a function in Turing?

Answer-17: function square(n : int) : int result n * n end square



Question-18. How do you call a function in Turing?

Answer-18: put square(5).



Question-19. What is an array in Turing?

Answer-19: A collection of elements of the same type, e.g., var arr : array 1..5 of int.



Question-20. How do you access array elements in Turing?

Answer-20: Using arr[index], e.g., put arr[2].



Question-21. What is a flexible array in Turing?

Answer-21: An array that can dynamically change size using new.



Question-22. How do you create a record in Turing?

Answer-22: record Student name : string, age : int end record



Question-23. How do you access record fields in Turing?

Answer-23: Using . notation, e.g., put student.name.



Question-24. What is a module in Turing?

Answer-24: A reusable code unit defined using module.



Question-25. How do you import a module in Turing?

Answer-25: Using import, e.g., import Math.



Question-26. What are enumerated types in Turing?

Answer-26: Custom types with named values, e.g., type Color = enum(red, green, blue).



Question-27. How do you declare a constant in Turing?

Answer-27: Using const, e.g., const PI : real := 3.14159.



Question-28. How do you handle file input in Turing?

Answer-28: Using open and get, e.g., open : f, "data.txt", get.



Question-29. How do you handle file output in Turing?

Answer-29: Using open : f, "data.txt", put.



Question-30. How do you check for errors in Turing?

Answer-30: Using eof(f) for end-of-file detection.



Question-31. What is the difference between put and get?

Answer-31: put outputs to the screen, get takes input from the user.



Question-32. What are the logical operators in Turing?

Answer-32: and, or, not.



Question-33. What are the relational operators in Turing?

Answer-33: =, >, <, >=, <=, not=.



Question-34. How do you generate random numbers in Turing?

Answer-34: Using randint(x, 1, 100).



Question-35. How do you define an object in Turing?

Answer-35: class Person export name, greet procedure greet() put "Hello, " + name end greet end Person



Question-36. How do you create an instance of an object in Turing?

Answer-36: var p : Person := new Person("Alice").



Question-37. What is inheritance in Object-Oriented Turing?

Answer-37: One class can inherit from another using inherit.



Question-38. How do you handle exceptions in Turing?

Answer-38: Using exception when blocks.



Question-39. How do you pause execution in Turing?

Answer-39: Using delay(ms), e.g., delay(1000).



Question-40. What is the purpose of the fork statement?

Answer-40: It allows concurrent execution of a procedure.



Question-41. How do you create a GUI in Turing?

Answer-41: Using the Window and GUI modules.



Question-42. What are processes in Turing?

Answer-42: Lightweight threads used for multitasking.



Question-43. What is case in Turing?

Answer-43: A switch-like control structure, e.g., case x of label 1: put "One" label 2: put "Two" else put "Other" end case



Question-44. How do you check the length of a string in Turing?

Answer-44: Using length(str).



Question-45. How do you concatenate strings in Turing?

Answer-45: Using +, e.g., put "Hello " + "World".



Question-46. How do you convert a number to a string in Turing?

Answer-46: Using intstr() or realstr().



Question-47. What are the different loop structures in Turing?

Answer-47: for, loop, while, exit when.



Question-48. How do you break out of a loop early?

Answer-48: Using exit when condition.



Question-49. How do you define a multi-line comment in Turing?

Answer-49: Using % on each line.



Question-50. Why is Turing language named after Alan Turing?

Answer-50: It is named after Alan Turing, the pioneer of modern computing.




Tags

Frequently Asked Question and Answer on Turing

Turing Interview Questions and Answers in PDF form Online

Turing Questions with Answers

Turing Trivia MCQ Quiz

FAQ Questions Sidebar

Related Topics


  • API Testing
  • Python
  • AWS Amazon Web Services
  • Java
  • C++
  • JavaScript
  • C#
  • PHP
  • Swift
  • Ruby
  • Kotlin
  • TypeScript
  • Go Golang
  • Rust
  • SQL
  • R
  • MATLAB
  • Perl
  • Scala
  • Dart
  • Haskell
  • Objective-C
  • Shell Scripting Bash
  • Visual Basic VB
  • Lua
  • Groovy
  • F#
  • Julia
  • COBOL
  • Fortran
  • Assembly Language
  • PL/SQL
  • Scratch
  • D
  • Erlang
  • Elixir
  • Clojure
  • Pascal
  • Ada
  • Lisp Common Lisp, Scheme
  • Prolog
  • Apex Salesforce
  • ActionScript
  • ABAP SAP
  • Racket
  • Nim
  • Crystal
  • Smalltalk
  • VHDL
  • Verilog
  • SASS Syntactically Awesome Style Sheets
  • Less CSS Preprocessor
  • CoffeeScript
  • J Sharp
  • Tcl (Tool Command Language)
  • XQuery
  • XSLT
  • OpenCL
  • CUDA
  • OpenGL Shader Language (GLSL)
  • VBScript
  • Solidity (Blockchain/Smart Contracts)
  • Yaml
  • JSON
  • XML
  • GDScript (Godot Engine)
  • UnrealScript (Unreal Engine)
  • Maple
  • Mathematica
  • Max/MSP
  • AutoLISP
  • LabVIEW
  • ScratchJr
  • AWK
  • sed (Stream Editor)
  • PostScript
  • Xojo
  • Q Sharp
  • Ring
  • ActionScript 3
  • OpenEdge ABL
  • RPG (IBM)
  • Inform
  • Modula-3
  • Rebol
  • Tcl/Tk
  • Haxe
  • SML (Standard ML)
  • Eiffel
  • Chapel
  • Red
  • MUMPS
  • PASCAL ABC
  • Icon
  • BCPL
  • Simula
  • SNOBOL
  • Hack (Meta)
  • PowerShell
  • Batch Script
  • AppleScript
  • Glue
  • Oz
  • Io
  • Mercury
  • Wren
  • Genie
  • PureScript
  • MoonScript
  • Turing
  • ALGOL
  • Seed7
  • Kotlin Native
  • Kotlin Multiplatform
  • Elm
  • PureBasic
  • QB64 (QuickBASIC)
  • Nemerle
  • Ocaml
  • Alloy
  • Cobra
  • Forth
  • Ballerina
  • Deno (JavaScript Runtime)
  • WASM (WebAssembly)
  • Z shell (Zsh)
  • Fish Shell
  • Redscript
  • Felix
  • ReScript
  • Agda
  • Idris
  • Coq
  • SPARK
  • Vala
  • PicoLisp
  • Wolfram Language
  • BASH (Bourne Again Shell)
  • Hy (Lisp-like for Python)
  • Terra
  • Boo
  • ATS
  • K (Kdb+)
  • Picat
  • Nimrod
  • Pawn
  • Papyrus (Bethesda Games)
  • J Programming Language
  • X++
  • MQL4/MQL5 (MetaTrader)
  • Transact-SQL (T-SQL)
  • BASH Shell Scripting

More Subjects


  • Computer Fundamentals
  • Data Structure
  • Programming Technologies
  • Software Engineering
  • Artificial Intelligence and Machine Learning
  • Cloud Computing

All Categories


  • Physics
  • Electronics Engineering
  • Electrical Engineering
  • General Knowledge
  • NCERT CBSE
  • Kids
  • History
  • Industry
  • World
  • Computer Science
  • Chemistry

Can't Find Your Question?

If you cannot find a question and answer in the knowledge base, then we request you to share details of your queries to us Suggest a Question for further help and we will add it shortly in our education database.
© 2025 Copyright InterviewQuizz. Developed by Techgadgetpro.com
Privacy Policy