Search test library by skills or roles
⌘ K

About the test:

CPP Python Online-test använder scenariobaserade MCQ: er för att utvärdera kandidater om deras förståelse av C ++ och Python-programmeringsspråk och deras förmåga att använda dem för mjukvaruutveckling. Testet utvärderar kandidater om sin kunskap om C ++ och Python -syntax, språkfunktioner och standardbibliotek, samt deras förmåga att skriva och felsöka kod på båda språken. Den utvärderar också deras kännedom om objektorienterade programmeringskoncept och principer, datastrukturer och algoritmer och minneshantering i C ++.

Covered skills:

  • C ++ Fundamentals
  • Datatyper
  • Funktioner
  • Filhantering
  • Data struktur
  • Databasintegration
  • Python Fundamentals
  • Kontrollförklaringar
  • Objektorienterad programmering
  • Undantagshantering
  • Algoritmer

Try practice test
9 reasons why
9 reasons why

Adaface C++ & Python Assessment Test is the most accurate way to shortlist C ++ utvecklares



Reason #1

Tests for on-the-job skills

The C++ & Python Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes, and helps in taking objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves time by filtering out unqualified candidates at the first step of the hiring process.

The test screens for the following skills that hiring managers look for in candidates:

  • Kunskaper i C ++ Fundamentals
  • Bekant med Python Fundamentals
  • Fast förståelse för datatyper
  • Möjlighet att effektivt använda kontrolluttalanden
  • Erfarenhet av att skriva och använda funktioner
  • Kunskap om objektorienterade programmeringsprinciper
  • Kunskaper i filhanteringsoperationer
  • Förmåga att hantera undantag och fel
  • Förståelse för datastrukturer
  • Bekanta med algoritmer
  • Erfarenhet med databasintegration
Reason #2

No trick questions

no trick questions

Traditional assessment tools use trick questions and puzzles for the screening, which creates a lot of frustration among candidates about having to go through irrelevant screening assessments.

View sample questions

The main reason we started Adaface is that traditional pre-employment assessment platforms are not a fair way for companies to evaluate candidates. At Adaface, our mission is to help companies find great candidates by assessing on-the-job skills required for a role.

Why we started Adaface
Try practice test
Reason #3

Non-googleable questions

We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

How we design questions

Dessa är bara ett litet urval från vårt bibliotek med 10 000+ frågor. De faktiska frågorna om detta C ++ & Python Test kommer att vara icke-googleable.

🧐 Question

Medium

ZeroDivisionError and IndexError
Exceptions
Try practice test
What will the following Python code output?
 image

Medium

Session
File Handling
Dictionary
Try practice test
 image
The function high_sess should compute the highest number of events per session of each user in the database by reading a comma-separated value input file of session data. The result should be returned from the function as a dictionary. The first column of each line in the input file is expected to contain the user’s name represented as a string. The second column is expected to contain an integer representing the events in a session. Here is an example input file:
Tony,10
Stark,12
Black,25
Your program should ignore a non-conforming line like this one.
Stark,3
Widow,6
Widow,14
The resulting return value for this file should be the following dictionary: { 'Stark':12, 'Black':25, 'Tony':10, 'Widow':14 }
What should replace the CODE TO FILL line to complete the function?
 image

Medium

Max Code
Arrays
Try practice test
Below are code lines to create a Python function. Ignoring indentation, what lines should be used and in what order for the following function to be complete:
 image

Medium

Recursive Function
Recursion
Dictionary
Lists
Try practice test
Consider the following Python code:
 image
In the above code, recursive_search is a function that takes a dictionary (data) and a target key (target) as arguments. It searches for the target key within the dictionary, which could potentially have nested dictionaries and lists as values, and returns the value associated with the target key. If the target key is not found, it returns None.

nested_dict is a dictionary that contains multiple levels of nested dictionaries and lists. The recursive_search function is then called with nested_dict as the data and 'target_key' as the target.

What will the output be after executing the above code?

Medium

Stacking problem
Stack
Linkedlist
Try practice test
What does the below function ‘fun’ does?
 image
A: Sum of digits of the number passed to fun.
B: Number of digits of the number passed to fun.
C: 0 if the number passed to fun is divisible by 10. 1 otherwise.
D: Sum of all digits number passed to fun except for the last digit.

Medium

Overloading
OOPs
Try practice test
What will the following C++ code output?
 image

Medium

Exceptions
Exceptions
Try practice test
What will the following C++ code output?
 image

Easy

Namespaces
Try practice test
What will the following C++ code output?
 image

Medium

Struct Class
Try practice test
What will the following C++ code output?
 image

Easy

Registration Queue
Logic
Queues
Solve
We want to register students for the next semester. All students have a receipt which shows the amount pending for the previous semester. A positive amount (or zero) represents that the student has paid extra fees, and a negative amount represents that they have pending fees to be paid. The students are in a queue for the registration. We want to arrange the students in a way such that the students who have a positive amount on the receipt get registered first as compared to the students who have a negative amount. We are given a queue in the form of an array containing the pending amount.
For example, if the initial queue is [20, 70, -40, 30, -10], then the final queue will be [20, 70, 30, -40, -10]. Note that the sequence of students should not be changed while arranging them unless required to meet the condition.
⚠️⚠️⚠️ Note:
- The first line of the input is the length of the array. The second line contains all the elements of the array.
- The input is already parsed into an array of "strings" and passed to a function. You will need to convert string to integer/number type inside the function.
- You need to "print" the final result (not return it) to pass the test cases.

For the example discussed above, the input will be:
5
20 70 -40 30 -10

Your code needs to print the following to the standard output:
20 70 30 -40 -10

Medium

Visitors Count
Strings
Logic
Solve
A manager hires a staff member to keep a record of the number of men, women, and children visiting the museum daily. The staff will note W if any women visit, M for men, and C for children. You need to write code that takes the string that represents the visits and prints the count of men, woman and children. The sequencing should be in decreasing order. 
Example:

Input:
WWMMWWCCC

Expected Output: 
4W3C2M

Explanation: 
‘W’ has the highest count, then ‘C’, then ‘M’. 
⚠️⚠️⚠️ Note:
- The input is already parsed and passed to a function.
- You need to "print" the final result (not return it) to pass the test cases.
- If the input is- “MMW”, then the expected output is "2M1W" since there is no ‘C’.
- If any of them have the same count, the output should follow this order - M, W, C.
🧐 Question🔧 Skill

Medium

ZeroDivisionError and IndexError
Exceptions

2 mins

Python
Try practice test

Medium

Session
File Handling
Dictionary

2 mins

Python
Try practice test

Medium

Max Code
Arrays

2 mins

Python
Try practice test

Medium

Recursive Function
Recursion
Dictionary
Lists

3 mins

Python
Try practice test

Medium

Stacking problem
Stack
Linkedlist

4 mins

Python
Try practice test

Medium

Overloading
OOPs

2 mins

C++
Try practice test

Medium

Exceptions
Exceptions

2 mins

C++
Try practice test

Easy

Namespaces

2 mins

C++
Try practice test

Medium

Struct Class

2 mins

C++
Try practice test

Easy

Registration Queue
Logic
Queues

30 mins

Coding
Solve

Medium

Visitors Count
Strings
Logic

30 mins

Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
ZeroDivisionError and IndexError
Exceptions
Python
Medium2 mins
Try practice test
Session
File Handling
Dictionary
Python
Medium2 mins
Try practice test
Max Code
Arrays
Python
Medium2 mins
Try practice test
Recursive Function
Recursion
Dictionary
Lists
Python
Medium3 mins
Try practice test
Stacking problem
Stack
Linkedlist
Python
Medium4 mins
Try practice test
Overloading
OOPs
C++
Medium2 mins
Try practice test
Exceptions
Exceptions
C++
Medium2 mins
Try practice test
Namespaces
C++
Easy2 mins
Try practice test
Struct Class
C++
Medium2 mins
Try practice test
Registration Queue
Logic
Queues
Coding
Easy30 minsSolve
Visitors Count
Strings
Logic
Coding
Medium30 minsSolve
Reason #4

1200+ customers in 75 countries

customers in 75 countries
Brandon

Med Adaface kunde vi optimera vår initiala screeningprocess med uppemot 75 %, vilket frigjorde dyrbar tid för både anställande chefer och vårt team för att förvärva talang!


Brandon Lee, Chef för människor, Love, Bonito

Try practice test
Reason #5

Designed for elimination, not selection

The most important thing while implementing the pre-employment C ++ & Python Test in your hiring process is that it is an elimination tool, not a selection tool. In other words: you want to use the test to eliminate the candidates who do poorly on the test, not to select the candidates who come out at the top. While they are super valuable, pre-employment tests do not paint the entire picture of a candidate’s abilities, knowledge, and motivations. Multiple easy questions are more predictive of a candidate's ability than fewer hard questions. Harder questions are often "trick" based questions, which do not provide any meaningful signal about the candidate's skillset.

Science behind Adaface tests
Reason #6

1 click candidate invites

Email invites: You can send candidates an email invite to the C ++ & Python Test from your dashboard by entering their email address.

Public link: You can create a public link for each test that you can share with candidates.

API or integrations: You can invite candidates directly from your ATS by using our pre-built integrations with popular ATS systems or building a custom integration with your in-house ATS.

invite candidates
Reason #7

Detailed scorecards & benchmarks

Reason #7

Detailed scorecards & benchmarks

Along with scorecards that report the performance of the candidate in detail, you also receive a comparative analysis against the company average and industry standards.

View sample scorecard
Try practice test
Reason #8

High completion rate

Adaface tests are conversational, low-stress, and take just 25-40 mins to complete.

This is why Adaface has the highest test-completion rate (86%), which is more than 2x better than traditional assessments.

test completion rate
Reason #9

Advanced Proctoring


Learn more

About the C++ & Python Online Test

Why you should use Pre-employment C++ & Python Test?

The C ++ & Python Test makes use of scenario-based questions to test for on-the-job skills as opposed to theoretical knowledge, ensuring that candidates who do well on this screening test have the relavant skills. The questions are designed to covered following on-the-job aspects:

  • Förstå och tillämpa C ++ Fundamentals
  • Genomförande av Python Fundamentals för kodutveckling
  • Manipulera datatyper i C ++ och Python
  • Använda kontrolluttalanden effektivt
  • Skapa och använda funktioner i C ++ och Python
  • Implementera objektorienterade programmeringskoncept
  • Arbetar med filhantering i C ++ och Python
  • Hantera undantag och fel effektivt
  • Använda olika datastrukturer i C ++ och Python
  • Analysera och implementera algoritmer

Once the test is sent to a candidate, the candidate receives a link in email to take the test. For each candidate, you will receive a detailed report with skills breakdown and benchmarks to shortlist the top candidates from your pool.

What topics are covered in the C++ & Python Test?

  • python Fundamentals

    python Grunder innebär att ha ett bra grepp om de grundläggande koncepten och syntaxen i Python -programmeringsspråket. Detta inkluderar koncept som variabler, datatyper, kontrolluttalanden och funktioner som är specifika för Python. Det är avgörande att mäta denna färdighet i testet eftersom Python används allmänt inom olika domäner, och en stark förståelse av dess grundläggande faktorer är avgörande för effektiv kodning i Python.

  • datatyper

    Datatyper i programmering hänvisar till de olika kategorierna av data som kan användas i ett program, såsom heltal, flottörer, strängar och booleer. Att förstå datatyper är viktigt eftersom det hjälper programmerare effektivt att hantera och manipulera data under hela programmet. Denna färdighet mäts i testet för att utvärdera kandidatens kunskap om hantering av olika datatyper och deras tillhörande operationer.

  • kontrolluttalanden

    kontrolluttalanden används för att kontrollera exekveringsflödet i en Program baserat på vissa villkor. Detta inkluderar uttalanden som om, annars och växlar uttalanden. Measuring this skill in the test allows recruiters to assess the candidate's ability to write logic and make decisions within a program based on specific conditions.

  • Functions

    Functions in programming are blocks of code that utföra en specifik uppgift. De tillåter kod återanvändning, modularitet och förbättrar den övergripande programorganisationen. Testning av denna färdighet hjälper till att bestämma kandidatens kunskaper i att skapa och använda funktioner, samt förstå begrepp som parametrar, returvärden och omfattning.

  • Objektorienterad programmering

    Objektorienterad Programmering (OOP) är ett programmeringsparadigm som kretsar kring skapandet och manipulationen av föremål. Det involverar begrepp som klasser, föremål, arv och polymorfism. Att bedöma denna färdighet i testet hjälper rekryterare att utvärdera kandidatens kunskap och kunskaper i utnyttjande av OOP -principer för att utforma och implementera effektiva och skalbara mjukvarulösningar.

  • Filhantering

    Filhantering hänvisar till förmågan till förmågan till förmågan att förmågan är förmågan Att läsa från och skriva till filer med programmeringsspråk. Det handlar om koncept som att öppna, stänga, läsa och skriva till filer. Att mäta denna färdighet i testet är viktigt eftersom filhantering är en vanlig uppgift i många programmeringsscenarier, och förmågan att arbeta med filer exakt och effektivt är avgörande för att utveckla robusta applikationer.

  • Undantagshantering

    Undantagshantering är en mekanism i programmering som möjliggör graciös hantering av fel och exceptionella situationer. Det handlar om att använda try-catch-block för att fånga och hantera undantag. Att utvärdera denna färdighet i testet hjälper rekryterare att utvärdera kandidatens förmåga att förutse och hantera fel, vilket säkerställer att deras program kan hantera oväntade situationer utan att krascha eller producera felaktiga utgångar.

  • datastrukturer

    Data Strukturer hänvisar till hur data är organiserade, lagrade och manipulerade i ett program. Detta inkluderar strukturer som matriser, listor, staplar, köer och träd. Testning av denna färdighet gör det möjligt för rekryterare att mäta kandidatens kännedom om olika datastrukturer och deras tillhörande algoritmer, som är avgörande för effektiv datahantering och manipulation i ett brett spektrum av programmeringsscenarier.

  • algoritmer </h4> <p > Algoritmer är steg-för-steg-procedurer eller metoder som används för att lösa specifika problem. De involverar effektiva och logiskt strukturerade lösningar för att utföra olika operationer. Denna färdighet mäts i testet för att bedöma kandidatens kunskap och förståelse för algoritmdesign och analys, som är väsentliga för att optimera programprestanda och lösa komplexa beräkningsproblem. </p> <h4> databasintegration

    databas Integration avser förmågan att interagera med databaser genom programmeringsspråk. Detta inkluderar uppgifter som att ansluta till databaser, köra frågor och hämta eller ändra data. Att utvärdera denna färdighet i testet hjälper rekryterare att mäta kandidatens kunskaper i att integrera applikationer med databaser, vilket är avgörande för att utveckla programvarulösningar som kräver ihållande datalagring och hämtning.

  • Full list of covered topics

    The actual topics of the questions in the final test will depend on your job description and requirements. However, here's a list of topics you can expect the questions for C ++ & Python Test to be based on.

    C ++ syntax
    Ingångs- och utgångsström
    Variabler och datatyper
    Villkor
    Slingor
    Funktioner och parametrar
    Klasser och föremål
    Arv och polymorfism
    Filinmatning/utgång
    Undantagshantering
    Matriser
    Länkade listor
    Travar och köer
    Sökande algoritmer
    Sorteringsalgoritmer
    Rekursion
    Pekare
    Minneshantering
    Kommandoradsargument
    Mallar
    STL -behållare
    STL -algoritmer
    Vanliga uttryck
    Lambda -funktioner
    Flertrådning
    Databasfrågor
    SQL -integration
    Databasanslutning
    Databastransaktioner
    Pythonsyntax
    Datatyper och variabler
    Strängar och strängmanipulation
    Listor och tuples
    Ordböcker och uppsättningar
    Villkor och öglor
    Funktioner och moduler
    Filhantering
    Undantagshantering
    Objektorienterad programmering
    Arv och polymorfism
    Filinmatning/utgång
    Arbetar med JSON
    Vanliga uttryck
    Virtuella miljöer
    Dekoratörer
    Generatorer
    Rekursion
    Algoritmer
    Data struktur
    Databasintegration
    SQL -frågor
    Databasanslutning
    Databastransaktioner
Try practice test

What roles can I use the C++ & Python Test for?

  • C ++ utvecklare
  • Pythonutvecklare

How is the C++ & Python Test customized for senior candidates?

For intermediate/ experienced candidates, we customize the assessment questions to include advanced topics and increase the difficulty level of the questions. This might include adding questions on topics like

  • Integrera databaser med kodutveckling
  • Tillämpa avancerade koncept för C ++
  • Implementera avancerade koncept för Python
  • Designa och implementera komplexa datatyper
  • Optimering av kodprestanda i C ++ och Python
  • Arbetar med multithreading och samtidighet
  • Implementera säkra kodningspraxis
  • Felsökning och felsökning av komplexa problem
  • Utföra kodrecensioner och optimeringar
  • Ledande och samordnande utvecklingsprojekt

The coding question for experienced candidates will be of a higher difficulty level to evaluate more hands-on experience.

Singapore government logo

De anställande cheferna upplevde att de genom de tekniska frågorna som de ställde under panelintervjuerna kunde berätta vilka kandidater som hade bättre poäng och särskiljde sig med de som inte fick lika bra poäng. Dom är mycket nöjd med kvaliteten på de kandidater som nominerades med Adaface-screeningen.


85%
minskning av screeningstiden

C++ & Python Hiring Test Vanliga frågor

Kan jag kombinera flera färdigheter till en anpassad bedömning?

Ja absolut. Anpassade bedömningar ställs in baserat på din arbetsbeskrivning och kommer att innehålla frågor om alla måste-ha färdigheter du anger.

Har du några anti-cheating eller proctoring-funktioner på plats?

Vi har följande anti-cheating-funktioner på plats:

  • Icke-Googleable-frågor
  • IP -proctoring
  • webbproctoring
  • webbkamera proctoring
  • Detektion av plagiering
  • säker webbläsare

Läs mer om proctoring -funktionerna.

Hur tolkar jag testresultat?

Det främsta att tänka på är att en bedömning är ett eliminationsverktyg, inte ett urvalsverktyg. En kompetensbedömning är optimerad för att hjälpa dig att eliminera kandidater som inte är tekniskt kvalificerade för rollen, den är inte optimerad för att hjälpa dig hitta den bästa kandidaten för rollen. Så det ideala sättet att använda en bedömning är att bestämma en tröskelpoäng (vanligtvis 55%, vi hjälper dig att jämföra) och bjuda in alla kandidater som gör poäng över tröskeln för nästa intervjurundor.

Vilken erfarenhetsnivå kan jag använda detta test för?

Varje AdaFace -bedömning anpassas till din arbetsbeskrivning/ idealisk kandidatperson (våra ämnesexperter kommer att välja rätt frågor för din bedömning från vårt bibliotek med 10000+ frågor). Denna bedömning kan anpassas för alla erfarenhetsnivåer.

Får varje kandidat samma frågor?

Ja, det gör det mycket lättare för dig att jämföra kandidater. Alternativ för MCQ -frågor och ordningen på frågor randomiseras. Vi har anti-cheating/proctoring -funktioner på plats. I vår företagsplan har vi också möjlighet att skapa flera versioner av samma bedömning med frågor om liknande svårighetsnivåer.

Jag är kandidat. Kan jag prova ett träningstest?

Nej. Tyvärr stöder vi inte övningstester just nu. Du kan dock använda våra exempelfrågor för övning.

Vad är kostnaden för att använda detta test?

Du kan kolla in våra prisplaner.

Kan jag få en gratis provperiod?

Plattformen är helt självbetjänande, så här är ett sätt att gå vidare:

  • Du kan registrera dig gratis för att få en känsla för hur det fungerar.
  • Den kostnadsfria provperioden inkluderar en provbedömning (Java/JavaScript) som du hittar i din instrumentpanel när du registrerar dig. Du kan använda den för att granska kvaliteten på frågorna och kandidaternas upplevelse av ett konversationstest på Adaface.
  • För att granska kvaliteten på frågorna kan du också granska våra offentliga frågor för 50+ färdigheter här.
  • När du är övertygad om att du vill testa det med riktiga bedömningar och kandidater kan du välja en plan enligt dina krav.

Jag flyttade precis till en betald plan. Hur kan jag begära en anpassad bedömning?

Här är en snabbguide om hur man begär en anpassad bedömning på Adaface.

customers across world
Join 1200+ companies in 75+ countries.
Prova det mest kandidatvänliga utvärderingsverktyget idag.
g2 badges
Ready to use the Adaface C ++ & Python Test?
Ready to use the Adaface C ++ & Python Test?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
Villkor Integritet Förtroende

🌎 Välj ditt språk

English Norsk Dansk Deutsche Nederlands Svenska Français Español Chinese (简体中文) Italiano Japanese (日本語) Polskie Português Russian (русский)
ada
Ada
● Online
✖️