quiz bu lëkkale ak tegtal · Diggante Niveau

Quiz ci kodage IA

Xoolaat kodu IA bi defar ci anam wu méngoo ak li ñuy laaj, sàrti dencukaay yi, API yi fi nekk, test yu am solo, kaaraange ak doxalin biñ joxe.

Yooni njiit yu jëm ciKodage IA
Laaj 1 de 8

Fonction buñ defar dafay jàll ci saytu xeetu mbind mi. Lu guide bi wax loolu dafay firndeel?

Xoolaatal laaj bu nekk8 laaj

Sooy def quiz bi, tontu yi ak leeral yi dañuy feeñ.

  1. Fonction buñ defar dafay jàll ci saytu xeetu mbind mi. Lu guide bi wax loolu dafay firndeel?
    • Only that the checked type constraints passed; requirements and runtime behavior still need review
    • That the code matches intended behavior
    • That security has been verified
    • That repository conventions were followed
  2. Ban leeral ci projet bi mooy jàppale assistant bi mu defar kode bu méngoo ak dencukaay bi fi nekk?
    • Only the programming language
    • Problem, architecture, interfaces, constraints, and expected behavior
    • A request for the shortest possible code
    • The number of files in the repository
  3. Turu kofre biñ digal nuru na lu baax. Lan la developpeur wara def balaa mu koy yokk?
    • Install it immediately
    • Assume it is an official API
    • Check that it exists, is reputable, and suits the project
    • Ask the model to generate a second package name
  4. JavaScript biñ defar dafay woo sort() ci [2, 10, 1] te amul benn méngalekat. Ban génne mooy wane bug guide bi?
    • [1, 2, 10]
    • [2, 10, 1]
    • [10, 2, 1]
    • [1, 10, 2]
  5. Nan la saafara bug mëna wane ni saafara nañu jafe-jafe bi njëkk?
    • Keep a meaningful test for the failure and verify its expectation was not weakened
    • Delete the failing test after the code changes
    • Change the test until it passes without checking the requirement
    • Rely only on the model’s explanation
  6. Which tests best help review generated code?
    • Only a test of the happy path
    • Meaningful cases, including boundaries and failures
    • A test that repeats implementation assumptions only
    • No tests if the code compiles
  7. What should a reviewer look for in the final diff?
    • Only formatting differences
    • The file’s last modified time
    • Unrelated edits, sensitive data, destructive operations, and missing error handling
    • The number of comments added
  8. A code change affects a user interface. What extra verification does the guide recommend?
    • Check only that the app compiles
    • Ask the model whether the design looks good
    • Inspect component names
    • Inspect the rendered or operational result as well as automated checks