JobsJob TrackerJob alerts

TCS ยท 1,487 questions

All 1,487Coding 601System Design 10Low-Level Design 89Behavioral 288Product Sense 11
  • TCS Codevita Online Coding RoundCoding
  • Polynomial equation coding problemCoding
  • Elections Queue Simulation with Neutral VotersCoding
  • Write solution for Marathon QuestionCoding
  • Pattern and RecursionCoding
  • Programming LogicCoding
  • Coordinate DecryptionCoding
  • Pattern and string coding questionsCoding
  • Dynamic Programming Coding ProblemCoding
  • Programming Skills and Coding AssessmentCoding
  • NQT Coding ProblemsCoding
  • Dynamic Programming ChallengeCoding
  • Matrix Traversal Coding QuestionsCoding
  • Pattern coding questionCoding
  • Character matrix problemCoding
  • Decoding CoordinatesCoding
  • Solve two coding questionsCoding
  • Basic programming objectives and coding questionCoding
  • Solve 1 programming questionCoding
  • Write code for a patternCoding
  • Programming skills, scenario-based, and DSA questionsCoding
  • Coding AssessmentCoding
  • TCS Digital Coding TestCoding
  • DBMS Concepts
  • HR situational and evaluation questionsBehavioral
  • Why should we hire you and why TCS?Behavioral
  • Python vs Java
  • DBMS Fundamentals
  • Cloud computing fundamentals and services
  • Networking basics
  • Database Normalization
  • NormalizationLow-Level Design
  • Explain binary search tree
  • SDLC phases and waterfall vs spiral model
  • Standard HR questionsBehavioral
  • What is IoT and its applications?
  • Where do you see yourself in 5 years?Behavioral
  • Encapsulation ConceptsBehavioral
  • Five Year PlanBehavioral
  • Explain JVM, JRE, and JDK differences
  • Water Jug Puzzle (3L and 5L)
  • Machine learning and statistical concepts
  • SQL commands
  • DELETE vs DROP in DBMS
  • Difference between structure and union
  • Find the second highest salary in a record
  • Design an E-Commerce applicationSystem Design
  • Database TriggersLow-Level Design
  • Pointers in CLow-Level Design
  • Java OOP and SQL fundamentals assessment
  • Willingness to relocateBehavioral
  • What are OOPS concepts?
  • Name the OSI Model layers
  • Cloud computing service models with examples
  • Motivation to join TCS and company knowledgeBehavioral
  • Cloud computing basics and situational questionsLow-Level Design
  • Core Object-Oriented Programming Concepts
  • Vector vs ArrayList
  • OOP Pillars and Basic DS
  • Python List vs Tuple
  • Team conflict management
  • Explain OOP pillars and Java core concepts
  • Normalization in DBMS
  • Machine Learning Fundamentals and Linear Regression
  • Difference between echo and print in PHP
  • Discussion on Resume Projects and APIsBehavioral
  • Types of SQL keys and joins
  • Language Proficiency
  • Introduction and Security Project DiscussionBehavioral
  • Explain the concept of OOPsLow-Level Design
  • Relocation and night shifts availabilityBehavioral
  • TCS Company DetailsBehavioral
  • Object-Oriented Programming principlesLow-Level Design
  • DBMS Basics
  • Define Deadlock
  • Introduce yourself and explain your projectsBehavioral
  • OOP Fundamentals
  • Java String Immutability
  • Git and GitHub
  • Why TCS and Career ChoicesBehavioral
  • Explain blockchain concepts, immutability, and real-world applicationsLow-Level Design
  • Why TCS and willingness to relocateBehavioral
  • Explain Blockchain Technology
  • Cloud computing concepts and deployment models
  • Difference between Error and Exception
  • Relocation and role preferenceBehavioral
  • OS Fundamentals
  • HTML and CSS basics
  • Database Design and Sharding
  • OSI Layers and Applications
  • Rust and AWS Lambda
  • What kind of language is Python and is it system dependent
  • Explain major OOP concepts
  • Normalisation and its types
  • Divide a cake of any shape into 8 equal pieces with 3 cuts
  • Workplace scenario questionsBehavioral
  • What do you know about the companyBehavioral
  • Explain your project, its motivation and backend architectureBehavioral
  • TCP/IP vs OSI model and protocols per OSI layer
  • Deadlock in DBMS
โ† TCS questions
  1. Interview questions
  2. TCS
  3. Programming Logic
Coding

Programming Logic

Filed under TCS

The question

Write logic and code for two unspecified programs.

No write-up yet. Related questions below have one.

Related TCS questions

  • Palindrome check
  • Check if a number is Prime or not
  • Star pattern printing
  • Check Armstrong Number
  • Sort array by parity conditions
โ† Pattern and RecursionCoordinate Decryption โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.