NOVELTY - 1,4-Diketopyrrolo(3,4-c)pyrrole (DPP) derivative (I) is new.    USE - In the semiconductor device in the form of diode, photodiode, sensor, organic field effect transistor, transistor for flexible displays, and solar cell; and as a p-type transistor (claimed).    ADVANTAGE - The compound used in organic field effect transistor, organic photovoltaic (solar cell) and photodiode that shows high efficiency of energy conversion, excellent field-effect mobility, good on/off current ratios and excellent stability; is synthesized easier than polymers, and is easy to purify.    DETAILED DESCRIPTION - 1,4-Diketopyrrolo(3,4-c)pyrrole (DPP) derivative of formula (I) is new.    p=0 or 1;    q=0 or 1;    A1 and A2=-(Ar1)a-(Ar2)b-(Ar3)c-R3;    A3, A4 and A5=-(Ar4)k-(Ar5)l-(Ar6)r-(Ar7)z-;    a=1 or 2;    b=0, 1 or 2;    c=0, 1 or 2;    k=0, 1, or 2;    l=1, 2, or 3;    r=0, or 1;    z=0, 1 or 2;    R1, R2, R'1, R'2, R''1, R''2, R'''1 and R'''2=hydrogen, 1-100C alkyl (optionally substituted times with 1-12C alkyl, 1-12C alkoxy, halogen, 5-12C cycloalkyl, nitro, cyano, vinyl, allyl, 6-24C aryl, 2-20C heteroaryl, silyl group or siloxanyl group and optionally be interrupted by -O-, -S-, -NR39-, -COO-, -CO- or -OCO-); 2-100C alkenyl group (optionally substituted with 1-12C alkyl, 1-12C alkoxy, halogen, 5-12C cycloalkyl, nitro, cyano, vinyl, allyl, 6-24C aryl, 2-20C heteroaryl, silyl group or siloxanyl group and optionally be interrupted by -O-, -S-, -NR39-, -COO-, -CO- or -OCO-); 3-100C alkenyl group (optionally substituted 1-12C alkyl, 1-12C alkoxy, halogen, 5-12C cycloalkyl, nitro, cyano, vinyl, allyl, 6-24C aryl, 2-20C heteroaryl, silyl group or a siloxanyl group and optionally be interrupted by -O-, -S-, -NR39-, -COO-, -CO- or -OCO-); 3-12C cycloalkyl group (optionally substituted with 1-12C alkyl, 1-12C alkoxy, halogen, 5-12C cycloalkyl, nitro, cyano, vinyl, allyl, 6-24C aryl, 2-20C heteroaryl, silyl group or siloxanyl group and optionally interrupted by -O-, -S-, -NR39-, -COO-, -CO- or -OCO-); 6-24C aryl group (optionally substituted with 1-12C alkyl, 1-12C alkoxy, halogen, 5-12C cycloalkyl, nitro, cyano, vinyl, allyl, 6-24C aryl, 2-20C heteroaryl, a silyl group or a siloxanyl group); 2-20C heteroaryl group (optionally substituted with 1-12C alkyl, 1-12C alkoxy, halogen, 5-12C cycloalkyl, nitro, cyano, vinyl, allyl, 6-24C aryl, 2-20C heteroaryl, silyl group or siloxanyl group); -CO-1-18C alkyl, -CO-5-12C cycloalkyl, or -COO-1-18C alkyl;    R3=hydrogen, halogen, cyano, 1-25C alkyl, 1-25C alkyl (which is substituted E and interrupted by D'), -CH=C(R14)-R15, COO-1-18C alkyl, 4-18C cycloalkyl group, 4-18C cycloalkyl group (which is substituted by G), 2-18C alkenyl, 2-18C alkynyl, 1-18C thioalkoxy, 1-18C alkoxy, 1-18C alkoxy (which is substituted by E and interrupted by D), 7-25C aralkyl, or 7-25C aralkyl (which is substituted by G); or group o formula (i)-(v);    Ar1, Ar2, Ar3, Ar4, Ar5, Ar6 and Ar7=35 bivalent group as given in specification e.g. group of formula (vi)-(xi);    X=-O-, -S-, -NR10-, -Si(R8)(R19)-, -Ge(R18)(R19)-, -C(R12)(R13)-, -C(=O)-, or group of formula (xii)-(xix);    R10 and R11=hydrogen, 1-18C alkyl, 1-18C haloalkyl, 7-25C arylalkyl, or 1-18C alkanoyl;    R12 and R13=hydrogen, 1-18C alkyl, 1-18C haloalkyl, 2-20C heteroaryl;or    R12+R13=R-14-C(=CH2)-R15 or six membered ring (which is optionally substituted by 1-18C alkyl or 1-18C alkoxy);    R14 and R15=hydrogen, 1-18C alkyl, 6-24C aryl, 2-20C heteroaryl, -CN or COOR50;    R16 and R17=hydrogen, halogen, 1-25C alkyl, C?=C-Rx, 1-25C alkoxy, 7-25C arylalkyl;    Rx=1-12C alkyl group, or a tri(1-8C alkyl)silyl group;    R18 and R19=hydrogen, 1-18C alkyl, 7-25C arylalkyl, or a phenyl group (which optionally mono to tri substituted with 1-8C alkyl or 1-8C alkoxy);    R20 and R21=hydrogen, 1-25C alkyl, 2-25C alkenyl, 2-25C alkyl (which is interrupted by -O- or -S-), COOR50, cyano, 1-18C alkoxy, 6-24C aryl, 7-25C arylalkyl, halogen or 2-20C heteroaryl;or    R20+R21=1-4C alkylene or 1-4C alkenylene (optionally both bonded via oxygen or sulfur to the (hetero)aromatic residue);    R30-R37=hydrogen, 1-25C alkyl, 2-25C alkenyl, 2-25C alkyl (which is interrupted by -O- or -S-), COOR50, cyano, 1-25C alkoxy, 6-24C aryl, 7-25C arylalkyl, halogen or 2-20C heteroaryl;    R40 and R41=hydrogen, 1-25C alkyl, 2-25C alkenyl, 2-25C alkyl (which is interrupted by -O- or -S-), COOR50, cyano, 1-18C ealkoxy, 6-24C aryl, 7-25C arylalkyl, halogen or 2-20C heteroaryl;    R50=1-25C alkyl, 1-25C haloalkyl, 7-25C arylalkyl, 6-24C aryl or 2-20C heteroaryl;    R60-R68=H, halogen, cyano, 1-25C alkyl, 1-25C alkyl (which is substituted by E and interrupted by D'), 6-24C aryl, 6-24C aryl (which is substituted by G), 2-20C heteroaryl, 2-20C heteroaryl (which is substituted by G), 4-18C cycloalkyl group, 4-18C cycloalkyl group (which is substituted by G), 2-20C alkenyl, 2-20C alkynyl, 1-18C alkoxy, 1-18C alkoxy (which is substituted by E and interrupted by D'), 7-25C aralkyl, or 7-25C aralkyl (which is substituted by G);    R70 and R71=hydrogen, 1-25C alkyl, or 7-25C aralkyl;or    R70+R71=1-25C alkylene or 1-25C alkenylene where both are bonded via oxygen and/or sulfur to the thienyl residue;    D'=-CO-, -COO-, -S-, -O-, -NR39-, or -C(=O)NR8-;    E=1-8C thioalkoxy, COO-1-18C alkyl, 1-8C alkoxy, CN, -NR39R'39, -CONR39R'39, or halogen;    G=E, or 1-18C alkyl;    R39 and R'39=hydrogen, 1-18C alkyl, 1-18C shaloalkyl, 7-25C arylalkyl, or 1-18C alkanoyl.    Provided that at least one of the groups Ar1-Ar7 is group of formula (vi); or when q, p, k, r, z is 0 and l is 1, then Ar5 is different from group (vi). INDEPENDENT CLAIMS are included for the following:    (1) a semiconductor device comprising the compound (I);    (2) preparation of compound (I);    (3) diketopyrrolopyrrole derivative formula (X), is new;    (4) use of the compound (X) in the production of polymer.    A'1 and A'2=-(Ar1)a-(Ar2)b-(Ar3)c-R'3;    R'3=ZnX12, -SnR207R208R209;    R207, R208 and R209=H or 1-6C alkyl;    X12=halogen atom, -OS(O)2CF3, -OS(O)2-aryl, -OS(O)2CH3, -B(OH)2, -B(OH)3-, -BF3, -B(OY1)2, or group of formula (xx) or (xxi);    Y1=1-12C alkyl group;    Y2=2-10C alkylene group;    Y13 and Y14=hydrogen, or 1-12C alkyl group.    Any two of R207, R208 and R209 are taken together to form common ring.