Yes, correct.
I have seen that with my own eyes - student asked to write a frequency meter code for arduino, she only specified that 4 digit, 7 segment display module was connected to the specified pins, and also specified a pin used as input - generated code worked directly and correctly, no modifications were needed. Both frequency measurement code, display multiplexing code - all were generated by AI.