📔
Blog
HOMEPORTFOLIOHIRE MEGITHUB
  • Home
  • 🙇Database
    • Oracle Database
      • 🍏LDOM Oracle VM for SPARC
      • 🍎Oracle Processor Core Factor Table
      • 🍐Check Oracle Error in Alert Log with SQL*Plus
      • 🍊Create Oracle Corrupt Data Block
      • 🍋RMAN Backup Tuning
      • 🍌Install NTP on Oracle Linux
      • 🍉Best Practice Check Tablespace Size on Oracle
      • 🍇Fix Password File Missing on Oracle
      • 🫐Check Oracle Error Message with OERR
      • 🍓Change and Restore Password on Oracle
      • 🍈Fix Oracle could not find Archive Log
      • 🍒Check Database Uptime on Oracle
      • 🍑Fix Oracle Date Format
      • 🥭Identity Column on Oracle
      • 🍍Fix Oracle Service handle not Initialized
      • 🥥GoldenGate Credential Store
      • 🥝Create Auto Increment on Oracle
      • 🍅Recompile Object Invalid on Oracle
      • 🍆Create Database Link on Oracle
      • 🥑Cluster vs Grid
      • 🫒Install DBSAT for Oracle Database 11gR2
      • 🥦Fix Oracle End-of-File on Communication Channel
      • 🥬Fix Oracle Database Out of Memory
      • 🫑Export and Import Oracle Database with Data Pump
      • 🥒Monitor Log Switch each Hour of Day on Oracle with SQL*Plus
      • 🌶️Change Column Format on Oracle with SQL*Plus
      • 🌽Check Version Component on Oracle with SQL*Plus
      • 🥕Check Database Size on Oracle with SQL*Plus
      • 🧄Migrate Oracle Database with RMAN
      • 🧅Fix Enterprise Manager Error OC4J Configuration issue
    • Microsoft SQL Server
      • 💊Backup SQL Server Database with SQL Backup and FTP
      • 💉Backup Full SQL Server with SQL Script
  • 🙇‍♀️INFRASTRUCTURE
    • DNS
      • 📦Fix Ldap Error Search Configuration Naming Context failed
      • 📦Join Domain to Active Directory on Ubuntu 22.04
      • 📦Sender Policy Framework Record
      • 📦Migrate User on Active Directory to Another Domain
      • 📦Fix can’t Delete Object on Active Directory
      • 📦Create Conditional Forwarder DNS on Windows Server 2012 R2
      • 📦Create Stub DNS Zone on Windows Server 2012 R2
      • 📦Domain Permission Admin
      • 📦Domain Model
      • 📦Active Directory ( AD ) 101
    • Network
      • 👥Local Area Network 101
      • 👥Export and Import Session on SecureCRT
      • 👥VPN Protocol
    • Security
      • 🎩Scam Mail
      • 🎩Disable Antivirus Protection on Windows 10
      • 🎩Fix Security Certificate is not Trusted
      • 🎩Best Practice Ransomware Protection
      • 🎩Digital Forensic
      • 🎩Check Installed Patch Compare Vulnerable on Windows 10
    • ISO 27001
      • 🐶Scenario-Based Risk
  • 🙇‍♂️Server
    • Windows Server
      • 👺Upgrade Windows Server 2003 SP2 to Windows Server 2008 R2
      • 👺Best Practice After Install Windows Server
      • 👺Windows Server Product Key
      • 👺How to convert PFX to CRT and KEY File on Windows Server
      • 👺Check Security Windows Application with Winchecksec
      • 👺Fix Internet Explorer Block Website on Windows Server 2019
      • 👺Install Windows Admin Center on Windows Server 2019
    • Linux Server
      • 👿Fix SSH Error: no matching key exchange method found
      • 👿Fix Ubuntu Package Manager Lock: Could not get lock /var/lib/dpkg/lock
      • 👿Install Kali Linux GUI on Windows Subsystem for Linux
      • 👿How to get DateTime History on Linux
      • 👿Change IP and Hostname on Ubuntu 18.04
      • 👿iSCSI Initiator on CentOS 7
      • 👿TMUX Command
      • 👿Create User on Linux
      • 👿Change Username and UID / GID on Linux
    • User
      • 👽OSQuery
      • 👽How to decompress GZIP, BZIP and TAR File on Windows 10
      • 👽Upgrade Windows 10 Version 1803 to 1903
      • 👽Join Windows Insider Program on Windows 10
      • 👽Fix RDP Error Exceeded the Maximum Number of Allowed Connections
      • 👽How to enable DNS over HTTPS on Firefox
  • 🧑‍🍼Software
    • VMware
      • 🌠Fix Deploy OVA Error no Support Hardware Versions on VMware ESXi 6.7
      • 🌠VMware Workstation and VMware ESXi Compatible
      • 🌠Promiscuous Mode and Forged Transmits on VMware vSphere 6.5
      • 🌠Update Patches on VMware ESXi 6.7 with ESXCLI
      • 🌠Fix Alert Hyperthreading Unmitigated on VMware ESXi 6.7
      • 🌠Fix VMware Error Client Session is no Longer Authenticated
      • 🌠Merge AVHDX and VHDX for Convert to VMDK
      • 🌠Convert VMDK to VHDX with Microsoft Virtual Machine Converter
      • 🌠Fix VMware Workstation Device / Credential Guard are not Compatible
      • 🌠Convert VMDK to VHDX with StarWind V2V Converter
    • Veeam Backup
      • 🧊Install Veeam Backup & Replication 11 on Windows
      • 🧊Backup Planning Matrix
      • 🧊Fix Veeam Backup Error Full Backup File Merge Failed
    • ESET
      • 🐕‍🦺Fix can’t Uninstall ESET Management Agent
  • 👩‍🍼Programming
    • Fundamental
      • 🔵ID Token vs Access Token
      • 🔴NULL vs NOT NULL
      • 🟣Microsoft Universal Data Access
      • 🟡Flow Graph Aptitude Test
      • 🟠C Pyramid – Part I
      • 🟤C Pyramid – Part II
      • ⚪JSON Web Token
      • 🟦Memory Architecture
    • Tools
      • AI Tools
        • ❤️Generative AI Tools
        • 💙Prompt Tools
        • 💚Dataset Tools
      • Extension Tools
        • ❄️Top Extension Microsoft Edge
        • ❄️Top Extension Visual Studio Code
      • Other Tools
        • 🚗Business Tools
        • 🚕CI/CD Tools
        • 🚙Design Tools
        • 🛻Freelance Tools
        • 🚌Hands-On Lab Tools
        • 🚎Productive Tools
        • 🏎️Programming Tools
        • 🚓SEO Tools
        • 🚑Mac Tools
      • Package Tools
        • 🧶Top NuGet Package .NET Core
      • Visual Studio Code
        • 🌑How to show Folder .git in Visual Studio Code
        • 🌑Fix CMake not Found Visual Studio
        • 🌑Backup Extension for Visual Studio Code
    • Python
      • Poetry
        • 🐍Poetry Virtual Environment Command
    • PHP
      • Laravel
        • 🍂Laravel Redis Key-Value Store
    • .NET Core
      • 🐹.NET Core Automatic Code Review with SonarQube
      • 🐹.NET Core Disable Authentication in Development Environment
      • 🐹Overview .NET Core
  • 👨‍🍼Other
    • Blog
      • 🎃Blog Dell
      • 🎃Blog Gitbook
      • 🎃Blog Network
    • Big Data
      • 🐱Big Data ของกระทรวงสาธารณสุข
    • Chat Bot
      • Chatfuel
        • 🍭Facebook Chatbot with Chatfuel
      • Dialogflow
        • ⛱️Dialogflow Connect Multiple Firebase Realtime Database
        • ⛱️Chatbot with Dialogflow and Firebase Realtime Database
    • Docker
      • 🐳How to Trust Sign Image on Docker
      • 🐳Upgrade Docker Compose
      • 🐳Install Nginx-RTMP and FSTV-Monitor on Docker
    • Machine Learning
      • 🧤PC SPEC for Deep Learning 2021
      • 🧤Install YOLO Object Detection on Windows 10
      • 🧤Thai Natural Language Processing with Python
      • 🧤Install Tensorflow with GPU on Windows 10
      • 🧤PC SPEC for Deep Learning 2019
      • 🧤Speech to Text with Google API
      • 🧤CUDA-Z
      • 🧤DVC Version Control for Machine Learning
    • Standard
      • 🧬Digital ID
      • 💻Computer Naming Convention
      • 🎁มาตรฐานข้อมูลกลาง
    • Policy
      • 🍔GDPR & PDPA
      • 🍟TDPG 2.0
      • 🍕Cookie Consent
    • WSL
      • 🧿How to move Distribution Data WSL to new Location
      • 🧿Export and Import Distro on Windows Subsystem for Linux
      • 🧿Install Docker on Windows Subsystem for Linux
  • 🧙‍♂️MICROSOFT 365
    • Outlook
      • 📩How to enable Forward Email on Microsoft Office 365 to Another Domain
      • 📩Fix Mailbox Storage Limit on Microsoft Office 365 with Compliance Search
      • 📩Fix can’t Search Thai Language on Microsoft Outlook
    • Power Automate
      • 🤖How to Rename all Files in Folder use UUID with Power Automate Desktop
      • 🤖How to get SharePoint List Comment with Power Automate
      • 🤖How to post Approve Comment to SharePoint List with Power Automate
      • 🤖Generate Unique ID when Submit Microsoft Form with Power Automate
      • 🤖Notification Maintenance when SharePoint List Create with Power Automate
      • 🤖Send Email and Share File Word Document with Power Automate
      • 🤖Generate Word Document when Submit Microsoft Form with Power Automate
Powered by GitBook
On this page
  • 🐲 Flow Graph Aptitude Test
  • 🫎 Example
  • 🦄 Problem solving

Was this helpful?

  1. Programming
  2. Fundamental

Flow Graph Aptitude Test

Last updated 1 year ago

Was this helpful?

Aptitude Test เป็นข้อสอบที่ใช้วัดการแก้ปัญหา ซึ่งใช้ในการทดสอบรับสมัครพนักงานตามบริษัทต่าง ๆ บริษัทด้านไอทีก็เช่นเดียวกัน แต่จะใช้แบบทดสอบที่ต่างออกไปในลักษณะของ Flow Graph Aptitude Test โดยจะต้องนำข้อมูลและเงื่อนไขที่โจทย์กำหนด มาใช้ในการหาคำตอบ

🐲 Flow Graph Aptitude Test

โจทย์ลักษณะนี้จะไม่เหมือนกับ Data Flow Diagram แต่จะคล้าย ๆ กัน ซึ่งมันสามารถอยู่ในลักษณะของเลขอนุกรม ( Numerical ), แผนภาพ ( Diagrammatic ) ที่มีการวน Loop โดยโจทย์ที่ใช้ในการรับสมัครพนักงานจะเป็นภาษาอังกฤษ

🫎 Example

ตัวอย่างโจทย์ที่พอหาได้ เนื่องจากจำโจทย์ที่เคยทำตอนหางานครั้งแรก ๆ ไม่ได้แล้ว แต่หากใครอยากลองทำโจทย์แนวนี้ของจริง ให้ไปสมัครงานตำแหน่งพวก Developer, Programmer อย่าง CDG ไม่รู้ยังใช้แบบทดสอบนี้อยู่มั้ย

Consider 8 boxes with following values
Box 1 = 2
Box 2 = 7
Box 3 = 2
Box 4 = 1
Box 5 = 5
Box 6 = 7
Box 7 = 1
Box 8 = 4

Now follow the instructions:

1. Put the number from Box 7 into Box 1
2. Add the numbers from Box 1 and Box 2, and put the result in Box 1
3. Change Instruction 2, Increase the number in Box 2 by 1
4. If the second box number mentioned in instruction 2 is greater than the number in box 8, stop. If not, go to step 2.

What number is in Box 1 now?

Note: When you are told to put a number into a box, it is understood that whatever number was previously in that box has just been erased.

🦄 Problem solving

สิ่งแรกที่ต้องทำคือแปลโจทย์จากอังกฤษเป็นไทย อ่านโจทย์แบบคร่าว ๆ ทั้งหมดก่อน ว่าโจทย์ให้ทำอะไร แล้วทำการวาดภาพในหัว

  • No. 1 Instruction 1 นำค่าใน Box 7 ไปใส่ใน Box 1 จะได้ Box 1 = 1

b[1] = b[7]
b[1] = 1
  • No. 1 Instruction 2 นำค่าใน Box 1 และ Box 2 บวกกัน แล้วนำผลลัพธ์ไปใส่ใน Box 1 จะได้ Box 1 = 8

b[1] = b[1] + b[2]
b[1] = 1 + 7 = 8
  • No. 1 Instruction 3 เปลี่ยนเงื่อนไขที่ 2 เพิ่มค่าใน Box 2 ขึ้นมา 1 จะได้ Box 2 = 8

b[2] = b[2] + 1
b[2] = 7 + 1 = 8
  • No. 1 Instruction 4 ถ้าค่าใน Box 2 ในเงื่อนไขที 2 มีค่ามากกว่า ค่าใน Box 8 ให้หยุด ถ้าไม่ใช่ให้กลับไปทำเงื่อนไขที่ 2 จะได้ True ทำให้ต้องหยุดการทำงาน

b[2] > b[8]
8 > 4
  • Incorrect Answer คำตอบไม่ถูกต้อง นั่นเป็นเพราะเราแปลโจทย์ข้อ 3 ผิด ซึ่งเราจะสับสนระหว่าง number from Box กับ number in Box

b[1] = Answer
b[1] = 8
  • Fix No. 1 Instruction 3 เปลี่ยนเงื่อนไขที่ 2 เพิ่ม Box 2 ขึ้นมา 1 จะได้ Instruction ใหม่เป็นการนำค่าใน Box 1 และ Box 3 บวกกัน แล้วนำผลลัพธ์ไปใส่ใน Box 1

b[1] = b[1] + b[2 + 1]
b[1] = b[1] + b[3]
  • Fix No. 1 Instruction 4 ถ้าค่าใน Box 3 ในเงื่อนไขที 2 มีค่ามากกว่า ค่าใน Box 8 ให้หยุด ถ้าไม่ใช่ให้กลับไปทำเงื่อนไขที่ 2 จะได้ False ทำให้ต้องกลับไปทำเงื่อนไขที่ 2

b[3] < b[8]
3 < 4
  • No. 2 Instruction 2 นำค่าใน Box 1 และ Box 3 บวกกัน แล้วนำผลลัพธ์ไปใส่ใน Box 1 จะได้ Box 1 = 10

b[1] = b[1] + b[3]
b[1] = 8 + 2 = 10
  • No. 2 Instruction 3 เปลี่ยนเงื่อนไขที่ 2 เพิ่ม Box 3 ขึ้นมา 1 จะได้ Instruction ใหม่เป็นการนำค่าใน Box 1 และ Box 4 บวกกัน แล้วนำผลลัพธ์ไปใส่ใน Box 1

b[1] = b[1] + b[3 + 1]
b[1] = b[1] + b[4]
  • No. 2 Instruction 4 ถ้าค่าใน Box 4 ในเงื่อนไขที 2 มีค่ามากกว่า ค่าใน Box 8 ให้หยุด ถ้าไม่ใช่ให้กลับไปทำเงื่อนไขที่ 2 จะได้ False ทำให้ต้องกลับไปทำเงื่อนไขที่ 2

b[4] < b[8]
1 < 4
  • No.3 Instruction 2 นำค่าใน Box 1 และ Box 4 บวกกัน แล้วนำผลลัพธ์ไปใส่ใน Box 1 จะได้ Box 1 = 11

b[1] = b[1] + b[4]
b[1] = 10 + 1 = 11
  • No. 3 Instruction 3 เปลี่ยนเงื่อนไขที่ 2 เพิ่ม Box 4 ขึ้นมา 1 จะได้ Instruction ใหม่เป็นการนำค่าใน Box 1 และ Box 5 บวกกัน แล้วนำผลลัพธ์ไปใส่ใน Box 1

b[1] = b[1] + b[4 + 1]
b[1] = b[1] + b[5]
  • No. 3 Instruction 4 ถ้าค่าใน Box 5 ในเงื่อนไขที 2 มีค่ามากกว่า ค่าใน Box 8 ให้หยุด ถ้าไม่ใช่ให้กลับไปทำเงื่อนไขที่ 2 จะได้ True ทำให้หยุดการวน Loop

b[5] < b[8]
5 < 4
  • Correct Answer คำตอบที่ถูกต้องคือ Box 1 = 11

b[1] = Answer
b[1] = 11
👩‍🍼
🟡
Flow Graph Aptitude Test